Foren / Cotonti / Core Labs / Archive / RSS output

medar
#1 20. November 2008, 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 21. November 2008, 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 4. Januar 2009, 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

Dieser Beitrag wurde von medar (am 9. Januar 2009, 17:12, vor 15 Jahre) bearbeitet
esclkm
#4 4. Januar 2009, 23:35
and what about forums and may be userslist
also your work is great
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты

Dieser Beitrag wurde von esclkm (am 4. Januar 2009, 23:40, vor 15 Jahre) bearbeitet
Dayver
#5 5. Januar 2009, 01:26
Ok! Then the ticket 131 closing?
Pavlo Tkachenko aka Dayver
Trustmaster
#6 5. Januar 2009, 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 27. Januar 2009, 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

    Dieser Beitrag wurde von medar (am 31. Januar 2009, 16:31, vor 15 Jahre) bearbeitet
    Lombi
    #8 28. Januar 2009, 03:11
    <a href="http://www.domenlo.com">Surreal Art</a>
    medar
    #9 28. Januar 2009, 03:57
    Forum on cotonti.com not allowed for guests, only for members.
    rangjungyeshe.ru
    HarryRag
    #10 3. Februar 2009, 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]

    Dieser Beitrag wurde von HarryRag (am 3. Februar 2009, 09:45, vor 15 Jahre) bearbeitet