Jump to content


EtoGalList v 1.0 beta 1 snippet


  • This topic is locked This topic is locked
3 replies to this topic

#1 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 10 May 2006 - 06:50 PM

This snippet is no longer available. Use the EtoGalThumb snippet instead: an example style is provided lower in this thread.

Quote

For a change, a simple, easy to use, snippet

Generates a text list of all Etogal images (with links) suitable for adding to a sitemap page.

usage - [[EtoGalList]]
parameters (generally not needed)-
gtable - table used for etogal if not the default
style - defaults to 0, which is correct for most use
exclude - comma separated list of ids of images that you don't want to appear in the list

Available now from the Etogal download section

demo at Etogal test site - sitemap

Edited by mikef, 22 November 2006 - 11:28 PM.


#2 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 06 September 2006 - 10:01 AM

Unless someone is currently using this snippet, and objects (and gives a good reason!), I plan to drop this snippet in the next release.
Except for some special cases built in to my copy of the code, there is nothing it can do that can't be done by adding a couple of new styles to EtoGalThumb (one to match listsitemap styling, and one to match the Google XML site map requirement) which I'll provide as additional styles.

#3 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 11 September 2006 - 05:28 PM

As an example, this page - http://www.roguegenecollective.com/summary85.html - is used as part of my set of "sitemap" pages intended primarily for search engines.
Earlier websites using the EtoGalList snippet don't have the option of easily displaying a thumbnail, and if you look at it purely from a search engines point of view they don't need to. However, the aim is to get the page visited, at which point it is viewed, and having the thumbnails s well makes it more enticing.

This is added to the EtoGalThumb snippet with just the following style definition:

Quote

// style=sitemap - for adding to a sitemap
$styleStrings['sitemap']['header']="";
$styleStrings['sitemap']['tail']="";
$styleStrings['sitemap']['image']=<<<IMG
<h2><a href='%%gurl%%%%sep%%pic=%%id%%'>%%title%%</a></h2><a href='%%gurl%%%%sep%%pic=%%id%%' title='%%title%%'>
<img src='%%file%%' class='EGTcontact' title='%%title%%' alt='%%sdesc%%' %%size%% />
</a>%%desc%%<div style="clear:both"></div>
IMG;


#4 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 22 November 2006 - 11:26 PM

In the absence of any objection, and since i no longer use it, this snippet has been dropped.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users