search for: defaulttag

Displaying 4 results from an estimated 4 matches for "defaulttag".

Did you mean: default_tag
2007 Mar 05
1
Creating a simple tag plugin
...lickr.com/photos/censi/232006603/} (it then downloads from flickr the description of the photo -- look for example at http://www.dis.uniroma1.it/~acensi/category/sss06.html) This is my flickr.rb: load_plugin ''webgen/plugins/tags/tag_processor'' module Tags class FlickrTag < DefaultTag param ''url'', nil, ''Url of the photo on Flickr.'' register_tag ''flickr'' def process_tag( tag, chain ) url = param( ''url'' ) ... end end end I get ''ERROR -- No default mandatory parameter sp...
2007 Dec 26
1
scope of plugns
...my plugin code is never invoked, and my page content is never transformed. Here is my page index.page --- title: Tout le dump inMenu: true --- {filelist} And here is my plugin # Generates a sitemap. The sitemap contains the hierarchy of all pages on the web site. class FileListTag < Tags::DefaultTag infos( :name => ''Custom/FileList'', :author => "Nicolas Delsaux", :summary => ''Shows all page files in the directory of the current page'' ) register_tag ''filelist'' def process_tag( tag, chain ) return "Hell...
2008 Mar 15
2
new webgen plugin : google analytics
...udes tre required javascripts. Requirements : in your page template, put {googleAnalytics: key: your_google_key} just before your <body> tag. And that''s all. The code is the following : =========================================================== class GoogleAnalyticsTag < Tags::DefaultTag infos( :name => ''Custom/GoogleAnalytics'', :summary => "Allows website tracking thanks to Google Analytics ga.js code" ) register_tag ''googleAnalytics'' param ''key'', 1, ''The Google analytics code given at...
2008 Mar 16
8
include a page in another
Hi, for my isbn plugin, I''m wishing to incldue generated isbn pages in caller pages (the ones with <isbn value=""> tags). But I want my isbn page to be processed before for its tags to be transformed (like the relocatable or other ones). Besides, i do not want its header to be included. Is there an easy solution for that, or should I do the work myself ? -- Nicolas