New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1337 votes ~ 14 comments )

 

Weblog entry #33 for Steve

TODO: Planet Debian-Administration update & Yawns.
Posted by Steve on Wed 12 Oct 2005 at 11:12
Tags:

Notes on things I have to do to this planet:

  • Show the number of comments upon each entry.
    • Note: If I add this as data to the weblog feeds then they will be non-standard and broken.
  • Fetch data direct from the database.
    • Right now PlanetPlanet is used which fetches each feed via a URL opening.

I guess I need a "yawns-planet" module and a couple of templates. Should be a trivial job to recode things:

  • I don't need to parse XML, I just need to read weblog entries from the database.
  • Rebuilds can be triggered via the "Create Weblog" or "Edit Weblog" process.
  • Needs a name ...

Choosing a name for software is the hardest part. There are so many obvious ones .. and they are usually taken. Still I can ignore name-overload here, this will not be a general purpose piece of software as it must clearly interface with the Yawns table structure.

Related TODO: Make an official Yawns 1.x release (instead of the dated releases) - and add it to freshmeat. Make sure that Denny has no objections first. (Possibly ask him about GPL licensing issue ..)

The only thing stopping me from making a release is that the site templates need to be more generic and less D-A.org specific.

 

Comments on this Entry

Posted by Steve (82.41.xx.xx) on Wed 12 Oct 2005 at 14:00
[ Send Message | View Steve's Scratchpad | View Weblogs ]

OK started coding now: yawns-planet.

Static index page generation works, I just need to output the feed information too.

Changes compared to PlanetPlanet:

  • Shows "no comments".
  • Shows "comments disabled".
  • Shows "N comments".
  • Fetches data directly from the Yawns database.
  • Massively quick!
  • Fully templated output generation using HTML::Template.

Steve
--

[ Parent | Reply to this comment ]

Posted by Steve (82.41.xx.xx) on Wed 12 Oct 2005 at 16:44
[ Send Message | View Steve's Scratchpad | View Weblogs ]

OK - coding complete.

The site is now using Yawns-Planet to generate Planet Debian Administration:

  • Static HTML page.
  • RSS v1.0 output.
  • RSS v2.0 output.

Let me know if there is any weirdness, or brokenness. The code looks to be pretty OK, and the feeds validate - but I know that means almost nothing.

Steve
--

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Fri 14 Oct 2005 at 11:32
Who is Denny?

[ Parent | Reply to this comment ]

Posted by Steve (82.41.xx.xx) on Fri 14 Oct 2005 at 17:12
[ Send Message | View Steve's Scratchpad | View Weblogs ]

The guy that wrote the version of Yawns which I heavily modified and use upon this site.

You can see a credit displayed upon the FAQ, and compare this site to one running his original code.

All the changes in the CVS repository are the mine. But the base code I started from was his.

Steve
--

[ Parent | Reply to this comment ]

 

 

Flattr