Tweakin' Typo
Posted by Eric Stewart Fri, 03 Jun 2005 08:06:00 GMT
I've been playing with Typo even more and I'm loving it. Just look how good the new logo looks! That's the most important thing!
I thought I was going to have to start from scratch adding per-category syndicated feeds, but luckily someone had already submitted a patch. Unfortunately, the patch only set up the xml_controller routing (the meat of the feature). So, I modified the categories list to provide syndication links for each category. Then I edited the syndication view code itself to include the category in the link, title, and descriptions so all the feeds for a blog don't have the same info/link.
I'm going to clean it all up a little more and submit as a patch, but will provide those files here if anyone is interested:
- atom.rxml - in /app/views/xml
- rss.rxml - in /app/views/xml
- commentrss.rxml - in /app/views/xml
- _categories.txt - Rename this to /app/views/shared/_categories.rhtml
Make sure an apply the patch above for this to work
Update: I fixed one of the links here and added some clarifying information for anyone who had trouble getting these files. Also, the _categores.rhtml template looks especially hokey in the new default css in the typo trunk, so it definitely has to change now.






Looks pretty nice. I am going to check it out a little deeper.
Formatting was quick and dirty, and I don't like how the feeds clutter up the category listings right now. I want to find a better way of presenting categories .