Login or Register

RSS IconRecent posts in this topic

avatar
Valdemar on Jan 2. 2008. 10:00 am
Hello,

http://fatty.dk/acnewsreader.zip

This is a demonstration plugin to, hopefully, help people getting started coding plugins for aC (it's quite simple, once you figure out the framework which resembles Cake+smarty quite a bit). This plugin will create a new tab in the menu called News with RSS feeds. It uses an external helper, SimplePie, to parse the RSS feeds.

This is very handy to display news from various sources (be it your corporate blog, an e-mail inbox feed (using for instance imap2rss http://www.noaxs.net/imap2rss/) or any other media that you and your co workers should stay up to date on.

Future improvements could be:

* AJAX interface to read the actual posts in aC (click-expand table)
* User defined feeds vs. static admin chosen feeds
* Create ticket / discussion / task based on feed (useful for support@company.com or bugs@company.com)
* Integration with dashboard?

Enjoy, improve and share!
Casper Valdemar
avatar
Ilija Studen on Jan 2. 2008. 12:15 pm
Hi Casper,

Great work and thanks for sharing! I'll check it out and maybe use it as a foundation for plugin development tutorial if you don't mind. Articles that cover framework itself are done (routing, controllers and views, models etc), but I still need to write one that shows how all the bits and peaces fit together.

Happy New Year!
activeCollab team member
avatar
Valdemar on Jan 2. 2008. 12:36 pm
Hi Ilija,

Sure, no problem. It's a very simple module, could use some improvements / the features I described above - but you know, too many ideas too little time. But for now it does what it's supposed to here, display an RSS feed of our internal news system, RSS of a Google News search, some external feeds etc.

Really looking forward to the documentation - tho I think I've figured much of it out myself by now. Hopefully we'll see more stuff 3rd party modules then.

Happy new year to you too!
Casper Valdemar
avatar
mehdib on Jan 31. 2008. 9:12 am
Valdemar,

Thanks for your work. But seems like can't find where the news feed menu is insterted.

Uploaded the file, inserted sql, refreshed page, but no clue where the News tab is ? Thanks.

M.
avatar
mehdib on Jan 31. 2008. 9:13 am
Also

INSERT INTO modules values ( 'news' , 0 , 100 );

should be:

INSERT INTO acx_modules values ( 'news' , 0 , 100 );
avatar
mehdib on Jan 31. 2008. 4:04 pm
Hi again... seems to work now... maybe a cache problem. Thanks!

M.
avatar
rootoftheproblem on Feb 1. 2008. 8:44 pm
Noticed that the last poster "seems to have it working now". So this question is to all... I would still like to know where the module "create(s) a new tab in the menu called News with RSS feeds". I am sure the module is installed but I can find nary a trace of its presentation in any AC1.0 page.
avatar
mehdib on Feb 1. 2008. 8:51 pm
rootoftheproblem,

There should be a news icon next to the calendar one.

Also, check your cache...

M.

RSS IconRecent posts in this topic