Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

RSS

Documentation (Genoa and older) / English / User Manual / RSS

How to use RSS in Cotonti

Release 0.0.2 have these RSS:

rss.php?c=news - for output last pages of category news (or other exist category)
rss.php?c=comments&id=XX - for output last comments of page with id=ХХ
rss.php?c=forums - for output last topics of forum
rss.php?c=topics&id=XX - for output last posts of topic with id=XX
rss.php?c=section&id=XX - for output last topics of selected section of forum


In rss.php added two hooks:

1. rss.create - for create own RSS output. Input - parameters c= and id= , output - items for RSS-feed in $items[][] array. See code of rss.php for more.

2. rss.output - hook before RSS output. Output content in $out.


1. Joy  2009-04-15 05:30

Thanks: 0

:-)
2. Kort  2009-06-16 23:56

Thanks: 0

How about rss.php?c=comments&id=all or smth to subscribe to all comments?

Toplam: 2, on page: 2

Sadece kayıtlı kullanıcılar yeni yorum yapabilir.