Forums / Cotonti / Core Labs / Archive / RSS output

medar
#1 2008-11-20 23:38
Wow. We don't have rss output in CMS now!
We need it in core i think. :)

What features you want to see ?
rangjungyeshe.ru
Lombi
#2 2008-11-21 01:49
Latest pages, latest topics, latest comments :)

There is a rss.php file available, but we should probably trunk it.
<a href="http://www.domenlo.com">Surreal Art</a>
medar
#3 2009-01-04 23:27
Commit:
http://trac.cotonti.com/changeset/246

Example of feeds:
rss.php?c=news - rss of pages in category "news"
rss.php?c=comments23 - rss of comments by page with id=23

Forum posts and other will be later
rangjungyeshe.ru
This post was edited by medar (2009-01-09 17:12, 15 years ago)
esclkm
#4 2009-01-04 23:35
and what about forums and may be userslist
also your work is great
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
This post was edited by esclkm (2009-01-04 23:40, 15 years ago)
Dayver
#5 2009-01-05 01:26
Ok! Then the ticket 131 closing?
Pavlo Tkachenko aka Dayver
Trustmaster
#6 2009-01-05 02:28
Well, I think for future releases we need Feeds module which would provide RSS and Atom output and consist of:
[list=1]
  • Pages and Lists
    • Category feed (pages in category and its subcategories)
    • Page feed (comments for page)
  • Forums
    • Category feed (topics in forum and its subforums)
    • Topic feed (posts in topic)
  • Plugins (hooks to create feed generators in plugins)
  • May the Source be with you!
    medar
    #7 2009-01-27 03:11
    Update of RSS system:
    Changed format:
    rss.php?c=news (or other category)
    rss.php?c=comments&id=XX
    rss.php?c=forums
    rss.php?c=topics&id=XX
    rss.php?c=section&id=XX (this and all subsections)

    Added two hooks

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

    rss.output - hook before RSS output. Output content in $out.[/][/]
    rangjungyeshe.ru
    This post was edited by medar (2009-01-31 16:31, 15 years ago)
    Lombi
    #8 2009-01-28 03:11
    <a href="http://www.domenlo.com">Surreal Art</a>
    medar
    #9 2009-01-28 03:57
    Forum on cotonti.com not allowed for guests, only for members.
    rangjungyeshe.ru
    HarryRag
    #10 2009-02-03 09:15
    Just have been testing a bit with RSS feeds.
    And I see some serious private security options as I see no options in the adminpanel to block certain groups out of certain areas.

    Will explain it in a case.

    Site moderator with acces to a private forum not accesable for everyone, including standard members, leaves the ship, or other options *

    *other option providing link to the RSS feed of that private section to a third_party.

    As soon as a forum/board user or a third-party (not logged in or even registerd) who normally wouldn't have acces to those private forums gets a hold of the RSS feed link to that particual private forums/topic (topic mostly) with:
    rss.php?c=topics&id=XX

    Then they can keep hold of the stuff posted in that topic via the RSS feeds page, not able to login via the feeds, but they can see the feeds and the last posts made.

    Tested this with IE8 RC1, FF305 and Opera 9.63 on my own rig with only Opera logged in, and with 2 laptops not having the login specs to my site and providing them a link to a private topic RSS-feed.
    All cases i was able to fully read those private articles.


    So with guessing of topic id's a whole site coud be read out, including images and all stuff that should stay private.
    That makes the RSS-feeds a bit dangerous to use for me on the board.


    The big question for me is:
    Can the Forums part of the RSS feeds be ripped out the rss.php and then still keep running for pages, articles and news?

    Regards,
    HarryRag


    [uptdate]
    After removing the topics id part of rss i couldn't manage to do so.
    Might done some strange, but this is what i ran into.
    [/update]
    [center][url=<a href="">http://www.true-gamers.nl]True</a> &amp; Honest Gamers[/url][/center]
    This post was edited by HarryRag (2009-02-03 09:45, 15 years ago)