Re: tagging for dummies?
"Edgar Luna" <[email protected]> Fri, 22 Feb 2008 00:54:40 -0600
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
(Whoops used anoter account) On Fri, Feb 22, 2008 at 12:29 AM, Akkana Peck <[email protected]> wrote: > Pete Goldsmith writes: > That's a nice answer to the question "Why use tags?" But my > question remains, "How do I add tags to my pybloxsom blog entries? > What tag syntax do external search engines look for?" > To add tags in pyblosxom you use any plugin that add it, normaly it instructs that you add metada to it with: #metadata-name metadata-data So in every entry in my blog I add in the second line #tags tag1,tag2,tag3 This is parsed by the plugin and used. Now to use your tags, the plugin must provide a way, for example the url: http://example.com/blog/tag1/ will list all the entries marked with tag1. The list must be delivered as a html unordered list or a tag cloud from this plugin in a template variable (the plugin must indicade which), then you just put this variable in the right place on your template. This could be enough to the idea of "marking" with certain tag the entries, because with the links of the list of tags on your blog (provided by the plugin) google or other robots could associate the entry with the actual story that you created. Now that you are here, *maybe* you want that certain site auto-magically sindicates that tags (and posibliy other metadata) from your pyblosxom's blog. Then what you _may_ need to do are two things: 1) If that site reads from a rss or some kind of xml you create (or edit) a _template_ that provides with <tags> or something that it understand so you advertise that certain entry has some tags and make that site point to that template, just like you provide your rss or the index of your blog. 2) Or you make a script that runs on top of some clases of pyblosxom (that eludes web stuff maybe) and get the metadata in your entries and send on whatever way that certain site requires that you send. Just like that, Pyblosxom is like a blog or publicizing framework in Python from there anything goes :-). Hope it helps. -- Edgar A. Luna ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/