And here is the long awaited next part of this tutorial
The blog post template
We have written a couple blog posts in the previous part of this tutorial now it is time to get dirty with the blog post template. The blog post template specifies how your blog post will look like when posted to your blog.
Try logging in at gallery2blog, choose a rss feed, click Templates link. The default blog post template looks like:
Code:
<a href="[col_2]" target="_blank"><img src="[img]" border="0"></a><BR>
[col_3]
As you can see there are several tags in there. A tag is something like:
[atag]. A tag is replaced by the system with more useful information. For example the [img] tag is replaced by the url of the gallery preview image and [col_2] is replaced by the value of the second column.
You can see which column contains what values by clicking at Import and scrolling a bit down. There you will see a big table. When you for example use [col_3] in the blog post template it will be replaced with the value you see in column 3 of this big table.
You can any html you like in the blog post template even javascript or flash if you feel need to do that. Click the links above the blog post template field for examples.
If you want to add a link to every blog post that for example points to a pay site you can use this blog post template:
Code:
<a href="[col_2]" target="_blank"><img src="[img]" border="0"></a><BR>
[col_3]<BR>
<a href="http://www.mypaysite.com">Wow, look at this paysite!</a>
Don't forget to change the [col_x] tags to fit your situation.