[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RSS for Debian



Hi Peter!

You wrote:

> > I could easily construct a good news system by parsing the home page
> > if you formatted the news lists a little differently, say with span
> > tags surrounding each news item or with each news item part of a UL
> > list with the list bullet set to nothing.
> 
> You shouldn't be parsing the generated HTML anyway, the script should
> be integrated with the website build process and use the source code.
> Have a look at http://www.debian.org/devel/website/ for how you can
> access the source code and build data from it.

The code is already in there.  See
http://cvs.debian.org/webwml/english/template/debian/recent_list.wml?cvsroot=webwml

The code for the rss feeds is a bit messy though;  I've got a patch
pending that should fix that.

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@o2w.nl, bas@debian.org |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Reply to: