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

url fragment for DWN (for rss feed)



Hello,

I played with wml and finally found the way to add url fragment to
each headline in the DWN files. This is a bit wicked hack but now the
rss feed for DWN is pointing each item by url with fragment, so that
it should be preferable to be existed.

Note that:
* if exists, use CHARSET_WML as feed's charset [commited]
* unfortunately, the first paragraph doesn't have <strong> tag, so
  "p00" doesn't work
* cannot stop adding fragment until end of the file
* fragments should (must?) begin with numbers, as Jutta Wrage
  mentioned earlier. Using "p%02d" instead
* made a patch for english/template/debian/weeklynews/header.wml,
  right place?
* filter out the "Removed Packages" as well. Using /removals\.txt/,
  as Frédéric Bothamy mentioned earlier.

Any comments, or more cool implementation?


Thanks,
--
Nobuhiro IMAI <nov@yo.rim.or.jp>
Key fingerprint = F39E D552 545D 7C64 D690  F644 5A15 746C BD8E 7106

Attachment: header.wml.patch
Description: Binary data

Attachment: dwn-to-rdf.pl.patch
Description: Binary data

Attachment: pgpVNmbEdkTll.pgp
Description: PGP signature


Reply to: