You may have noticed that I’ve given my linkblog entry generator a slight revision, the output should be a little more informative with links to the tags used, and a link to the other people linking to each item.
As before, it’s GPL licensed and the source code is available as: pydelicious.py
One odd thing I encountered with pytextile was when I tried being too clever and used a definition list instead of nested unordered lists; definition list are pretty easy to do use in pytextile, but they appear to having a flaw in implementation. Their syntax is simple enough, for example
.bc dl. Monty Python:A British tv comedy series which first aired in 1969
would generate:
- Monty Python
- A British tv comedy series which first aired in 1969
It uses the colon character to split the items up, however if you try to use a link in a definition list things start getting strange. The format for a link is "link text":http://example.com and the definition list code spots the colon and split the link over two items! There’s probably a simple way around this but it’s not in my textile skillset yet.