blog

Test post 3

Hoc est vim afferre, Torquate, sensibus, extorquere ex animis cognitiones verborum, quibus inbuti sumus.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Eam tum adesse, cum dolor omnis absit; Sed haec nihil sane ad rem; Haeret in salebra.

  • Aut, Pylades cum sis, dices te esse Orestem, ut moriare pro amico?
  • Nunc haec primum fortasse audientis servire debemus.
Confecta res esset.
Duo Reges: constructio interrete.
Si quae forte-possumus.
Quae cum dixissem, Habeo, inquit Torquatus, ad quos ista referam, et, quamquam aliquid ipse poteram, tamen invenire malo paratiores.
Quo modo?
Hic ego: Pomponius quidem, inquam, noster iocari videtur, et fortasse suo iure.
Confecta res esset.
Deque his rebus satis multa in nostris de re publica libris sunt dicta a Laelio.

Test post 2

Hoc est vim afferre, Torquate, sensibus, extorquere ex animis cognitiones verborum, quibus inbuti sumus.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Eam tum adesse, cum dolor omnis absit; Sed haec nihil sane ad rem; Haeret in salebra.

  • Aut, Pylades cum sis, dices te esse Orestem, ut moriare pro amico?
  • Nunc haec primum fortasse audientis servire debemus.
Confecta res esset.
Duo Reges: constructio interrete.
Si quae forte-possumus.
Quae cum dixissem, Habeo, inquit Torquatus, ad quos ista referam, et, quamquam aliquid ipse poteram, tamen invenire malo paratiores.
Quo modo?
Hic ego: Pomponius quidem, inquam, noster iocari videtur, et fortasse suo iure.
Confecta res esset.
Deque his rebus satis multa in nostris de re publica libris sunt dicta a Laelio.

test post 1

Hoc est vim afferre, Torquate, sensibus, extorquere ex animis cognitiones verborum, quibus inbuti sumus.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Eam tum adesse, cum dolor omnis absit; Sed haec nihil sane ad rem; Haeret in salebra.

  • Aut, Pylades cum sis, dices te esse Orestem, ut moriare pro amico?
  • Nunc haec primum fortasse audientis servire debemus.
Confecta res esset.
Duo Reges: constructio interrete.
Si quae forte-possumus.
Quae cum dixissem, Habeo, inquit Torquatus, ad quos ista referam, et, quamquam aliquid ipse poteram, tamen invenire malo paratiores.
Quo modo?
Hic ego: Pomponius quidem, inquam, noster iocari videtur, et fortasse suo iure.
Confecta res esset.
Deque his rebus satis multa in nostris de re publica libris sunt dicta a Laelio.

Bits and Pieces

Really happy, am wrapping up the Bits and Pieces project. Doing the cover and the InDesign book formatting for the first novella in a supernatural/mystery/cozyish cross genre series.

A feline helps his vet cat daddy solve murders, because all cats do that. Really all the time, you can stop them! I get back from work, look for the house cats and they are out solving crimes.
But seriously, most joking aside. It is a fun project. there are three more novella ending in a full book in this first cycle and I am really looking forward to doing the artwork for all of them.

Meanwhile you can find this book here.

How much content do you need?

Have been enjoying learning about Oracle content marketing, Eloqua. Interesting information. Today I picked up an equation to calculate how much content you might need on your website to promote your businesses or projects.

Number of content pieces needed.

30 topics * 3 personas = 90 content pieces * 5 buying stages = 450 content pieces

Of course you can have more than three personas, or less. And you can likewise adjust the topics you wish to share with your readers.

And why a picture of a cat?
This was a very quick post, more of a note for myself as I am picking up info on marketing and the like. And didn’t want to take too much time looking for a “content” perfect image. So enjoy the handsome mug one of agileArt outstanding felines!

What should you write about?

A big thank you to Boel Stoddard for this post. Boel has years of experience creating websites.
Need a website? You can see her portofolio here.
And drop her a line at this contact form.

___________________

When you blog, you sometimes struggle with coming up with topics to write about.

You also struggle with finding the time to do it.

Sometimes you struggle with both.

I am not going to tell you what topics to write about, I am just going to give you a tip that I intend to apply myself from now on, to tap into the creativity and inspiration you already possess

I find that my very best ideas come to me when I am not in front of the computer screen, ready to write. They come to me in the garden, my hands covered in dirt, my mind in that zen state I personally reach only in the garden. For you inspiration might strike at entirely different moments, perhaps it is while driving home from work, when you’re in the shower, or when you’re cooking, or when you watch your children play, or when you are out for a walk. The point being, that ideas often come to us when we are not sitting by our computers, ready to go to work writing. They come to us when our mind roams, when we do something we love and enjoy, when we are immersed in life.

Then later, you finally find a quiet moment and you sit down to write that great blog post. You have the time. You are in the mood, but… your mind draws a blank. What should you write about? All those great headlines and subjects you thought of are suddenly gone, like a wisp of smoke in the wind.

This happened to me too many times to count. Great ideas I knew I had. Just out of reach, gone, vanished from my mind, when finally I had time to devote to writing them down. The solution is so simple. You just need to develop a habit combined with a system, to make a quick note of your great ideas. Summarize it like a great headline for your topic, and then gather all your ideas together in one place for easy inspiration later. Soon you’ll have a whole list of topics to chose from when you sit down to write – you will be going from “I have no clue what to write about” to “which of these topics inspire me most today”.

It’s a wonderful thing indeed. What should you use to keep track of these ideas?

It really doesn’t matter, as long as it is easy enough to use that you will actually do it, in the moment the idea comes to you. I am a mac user myself, so I just use “Notes” since all my devices talk to each other I can make a note on my iPhone or iPad and then when I am at the computer I can bring my Notes up and scan through my great and inspired ideas. If you are not a Mac user, you can use Evernote, a free service which was created to make notes that are shared across all your devices: https://evernote.com/pricing/

Make a headline out of every idea that comes to you. If you need to elaborate, jot down a few notes as to your ideas for the topic.

The next time you sit down to write, instead of casting desperately about for something to write about, you’ll have a whole list of headlines from which to draw inspiration. And the greatest thing? All these ideas were gathered from YOUR mind.

Boel Stoddard Boel Stoddard Web Design Websites that build business

Bring in some free APIs

As I am learning to be a better developer (crossing fingers) I wanted to share some of the code that I have been working on. Also it’ll make it easier for me to find it if or when, I need it again.

In this case I had decided to experiment with bringing content in from outside APIs.

There are many outstanding sources of data from various APIs that are free and available to anyone who is interested. And keep in mind not just as in free in a financial sense but also in free as in freedom of thought, information and speech. So go out, educate, share!

The ones I used in these two examples are from ipiinfo and the Sunlight Foundation.

the code below is reliant on javascript and jQuery

In the index.php page I had very little (of course you can also use an .html page), just the basics as I wanted to practice creating the divs and elements by way of javascript and jQuery.

Simply put, I created the “wrap” div in the index.php, then in the .js the variable

   var divsToAppend = "";

was declared. A for loop was used to create three empty divs and the counter was used to add a numerical identifier to their IDs and jquery helped with .addClass() so that I added the appropriate classes to the divs.

for (i = 0; i<3; i++) {
   divsToAppend += '';
}
$('#wrap').append(divsToAppend);


Ok so far so good.

Although a more elegant bit of code was provided by Megazoid from the outstading forum on sitepoint.  And his snippet looks way better. See for yourself:

for (i = 0; i <; 3; i++) {
    $('#wrap').append('</div>').attr('id', 'div'+i);
}


So…use that one instead.

 

Using the same technique I then added sub divs to the original divs and some content:

$(document).ready(function(){
 var divsToAppend = "";
 var contentDivs = "";
 var subDivs ="";
 
 //creating divs and appending content
 for (i = 0; i < 3; i++) {
 divsToAppend += '<div id="div' + (i) + '" />'; 
 }
 $('#wrap').append(divsToAppend);
 $("#div0").addClass("hdr").html("<h1>headah</h1>");
 $("#div1").addClass("content").html("<p>Whatevah</P>"); 
 $("#div2").addClass("ftr").html("<h3>Footah</h3>")

 for (i = 0; i < 3; i++) {
 contentDivs += '<div id="ct' + (i) + '" />'; // Etcetera. Etcetera, etcetera.
 }

Next, onward to the Sunlight foundation you can get a free ( a very good deal) the api key that will allow you to bring in the data they offer. On their API page you’ll see the API available list. Video training, tools, etc…So once you got your free key you can try it with the code below.

This first example was done after following an online tutorial. It used a .each() loop, a jQuery function.

$("#senators").submit(function(e){
e.preventDefault();
var $results = $("#senator-results");
var zipcode = $("#txt-zip").val();
var apiKey = "*****"; //the api you got, a long series of letters and numbers goes there in place of all the neat *
var requestURL = "https://congress.api.sunlightfoundation.com/legislators/locate?callback=?";//collect data
$.getJSON(requestURL,{
'apikey' : apiKey,
'zip' : zipcode
},function(data){
 if(data.results && data.results.length > 0){
 var senators = "<p> Here you go: </p>";
 $.each(data.results, function(i, rep){
 if('senate'=== rep.chamber.toLowerCase()){
 senators += '<p>';
 senators += '<a href="' +rep.contact_form+ '" target="_blank">';
 senators += rep.first_name +' '+ rep.last_name;
 senators += '</a>';
 senators += '</p>';
 }
 });
 senators += '<p> Write em</p>';
 $results.html(senators);
 $('#subSect0').append($results.html(senators));
 }else{
 $results.html('<p> none found for' +zipcode+ '</p>');
 }
 });
 //$('#subSect0').append($results.html(senators));
});

And this is another request. But with a simple .get() and the .each() loop exchange to a for loop. Why? Mostly just for practice.

$.get("https://congress.api.sunlightfoundation.com/bills?apikey=***", function (response) {
 //console.log(response);
 var i=0;
 var html = '';
 for(i=0; i<response.results.length; i++){
 console.log(objList);
 var objList = response.results[i];
 html += '<div class=\" billList\">'
 html += objList.bill_id + '<br />';
 html += objList.chamber + '<br />';
 html += objList.official_title + '<br />';
 html += '</div>'
 $("#ct0").append(html);
 }
}, "jsonp");

And…one last api for this post. The very friendly and neat ipiinfo. No API key needed. This great little API will get you the City, co-ordinates, zip code, etc…

$.get("http://ipinfo.io", function (response) {
$("#ip").html("IP: " + response.ip);
$("#address").html("Location: " + response.city + ", " + response.region + ", " + response.loc);
$("#details").html(JSON.stringify(response, null, 3));
$("#geoLoc").css({
"background-color":"#066",
"color":"#fff",
"font-family":"sans-serif",
"font-size":"14px",
"text-transform":"uppercase" });
}, "jsonp");

And here are the links to jQuery methods mentioned in the post.
.getJSON() .get() .each()

Ghost town map.

Nice weekend. Had fun creating the map for the ghost town of Herald. AI and some Photoshop.
And of course coming along on the Arachnohazard site as well.
Used Jquery-ui for the tabs and the accordion. Great fun and pretty easy incorporating it with WordPress(Mostly).
Once done it will be moved from my server into the wild.

Just like seeing your kid grown up!

Continue reading “Ghost town map.”