On Thu, 2006-03-02 at 18:15 +0100, Marco Gaiarin wrote: > I've passed all the afternoon digging and hacking around news_admins > rss export feature. > > Now i log some bug to savanah, but waiting from savannah list to be > unlocked i post also here. > > Some sparse consideration. > > > + in news creation, what are the teaser? Some sort of summary? >
Yep. It is used in the RSS export. So you can have something like: This is a great story You won't believe how great this story is. It is truly amazing > + all the news_admin stuff seems in more or less abandoned state, It head I have done some work, and plan to come back and do some more. > and > it is not clear how they work. AFAI've understood the news_admin > module of phpgw it is used to input news, and there's some sort of > ``minisite'' ala sitemanager that display it, out of phpgw. > But this news_admin/website/index.php does not work anymore... This functionality was dropped after sitemgr was introduced. The code was mainly used on phpgroupware.org > > + Again AFAI've understood the link you can use to setup rss feeds in > news_admin are broken, because are relative to > news_admin/website/index.php and this is broken. > This is likely to change in HEAD. I plan to move the RSS export functionality into sitemgr. probably using http://site.com/export.php > + news_admin/website/export.php does not work, to make work it it is > needed to patch setup.php.inc, after some fiddling i've tried with: > Please post this on savannah. Code posted to the lists bloats messages and easily gets lost. <snip /> > for me it is not clear how work the phpgw class instatiation, so i > think i've done some big mistake. ;) > When its on savannah I will see :) > > + in this way, only news title and link (broken) are exported; i've > fiddle a little about and find that if i do: > > (clearly the same for all the other templates) i got the content. I'm > not clear if teaser are summary, so it is better to export as > descriptions the teaser and not the content. > I don't currently use the RSS export so I haven't seen what it outputs. IMHO the feed shouldn't include the full text of the article, the teaser (summary). > > Generally i think that all these stuff have to be revamped a bit, i > propose that all this stuff got integrated in sitemanager, where you > can do: > > - a simple page that do rss export See my comments above on this > - a news module that can handle also single news, so we can pass > a &newsid=23 and got a single page news. This is already supported in sitemgr's news module. I have also done some work with mod_rewrite in head, and now you can have http://site.com/news/23 or http://site.com/news/this_is_a_great_story :) It doesn't currently generate links in that format, if I get time I can look at adding that too. Cheers Dave -- Dave Hall (aka skwashd) API Coordinator phpGroupWare +-------------------------------------+-------------------------------+ | e [EMAIL PROTECTED] | w phpgroupware.org | | j [EMAIL PROTECTED] | aim skwashd | | icq 278064022 | msn [EMAIL PROTECTED] | | sip [EMAIL PROTECTED] | y! skwashd | +-------------------------------------+-------------------------------+ _______________________________________________ Phpgroupware-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-users
