|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Fri Feb 09, 2007 11:18 pm Post subject: Feed Templates, Explained! |
|
|
|
|
|
|
|
|
|
|
Gallery Scraper, provides you the great ability to manually customize the entries look and feel for each different feed you create. Rock solid templating mechanism is available for this purpose.
In this article you will understand how to create and use the templates, plus several example templates will be shown!
1) Lets say you want to create a feed, that will just show text links to your galleries.
Template: Code: | <a href="{GAL_URL}" target="_blank">{GAL_DESCR}</a> |
2) Lets say you want to create a feed, that will just show text links to your galleries, but and non-linked text take from the Long Description information of the gallery.
Template: Code: | <a href="{GAL_URL}" target="_blank">{GAL_DESCR}</a> - {GAL_LDESCR} |
3) Lets say you want to create a feed, that will show a linked thumbnail of the gallery with size 150x200 and the gallery description.
Template: Code: | <center><a href="{GAL_URL}" target="_blank"><img src="{PIC_150x200}" border="0"><br>{GAL_DESCR}</a></center> |
Note: You can put in a template as many thumbs as you want, also you can make every thumb with whatever size you want.
4) Lets say you want to create e feed, that will show two thumbnails from the gallery on a row and below them the description of the gallery.
Template: Code: | <table>
<tr>
<td><a href="{GAL_URL}" target="_blank"><img src="{PIC_150x200}" border="0"></a></td>
<td><a href="{GAL_URL}" target="_blank"><img src="{PIC_150x200}" border="0"></a></td>
</tr>
<tr>
<td>{GAL_DESCR}</td>
</tr>
</table> |
5) Same scenario as in 4), but here the thumbs will link to their big pictures. You need active the checkbox "Link thumbs to big picture" in your feed settings and put the variable {BIG_PIC} in the href tag of the link.
Template: Code: | <table>
<tr>
<td><a href="{BIG_PIC}" target="_blank"><img src="{PIC_150x200}" border="0"></a></td>
<td><a href="{BIG_PIC}" target="_blank"><img src="{PIC_150x200}" border="0"></a></td>
</tr>
<tr>
<td>{GAL_DESCR}</td>
</tr>
</table> |
Design capabilities aren't limited in any way. Just use your creativity to make the entries body look just like you need it for your purpose! _________________
|
|
|
|
|
|
|