Managing RSS Feeds From the Content Manager
------------------------------------------- Key: OFBIZ-721 URL: https://issues.apache.org/jira/browse/OFBIZ-721 Project: OFBiz (The Open for Business Project) Issue Type: New Feature Components: content Reporter: Rupert Howell Over the last few weeks I've been doing some work on a site that will be gathering RSS feeds from other sites and displaying the headlines accordingly. I have used Rome which is a set of RSS/Atom tools and is apparently Apache licensed https://rome.dev.java.net/. Integration with OFBiz was easy - but my work on this really is in a proof of concept phase. I have taken RSS feeds from other sites and displayed them on an OFBiz site - that's about it. I would like to extend the Content Manager to manage these feeds so it is easy to choose and change which are being displayed. Ultimately - I would also like to publish RSS feeds from the CMS so people can be kept up to date with Forum/Blog posts, news etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472879 ] Tim Ruppert commented on OFBIZ-721: ----------------------------------- Rupert, Andrew Zeneski is heading the charge for with Rome on our side. Please upload anything that you have, so he can review it and comment accordingly. > Managing RSS Feeds From the Content Manager > ------------------------------------------- > > Key: OFBIZ-721 > URL: https://issues.apache.org/jira/browse/OFBIZ-721 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: content > Reporter: Rupert Howell > > Over the last few weeks I've been doing some work on a site that will be gathering RSS feeds from other sites and displaying the headlines accordingly. I have used Rome which is a set of RSS/Atom tools and is apparently Apache licensed https://rome.dev.java.net/. Integration with OFBiz was easy - but my work on this really is in a proof of concept phase. I have taken RSS feeds from other sites and displayed them on an OFBiz site - that's about it. > I would like to extend the Content Manager to manage these feeds so it is easy to choose and change which are being displayed. Ultimately - I would also like to publish RSS feeds from the CMS so people can be kept up to date with Forum/Blog posts, news etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rupert Howell updated OFBIZ-721: -------------------------------- Attachment: ContentRSSFeeds.patch Here is a patch for as far as I have got. I'm not 100% sure my patches are correct so if this is wrong please let me know and I'll fix it straight away. I've added a new DataResourceType called RSS_FEED. I've edited DataResourceWorker to allow for this new Type and created a class called FeedWrapper which is very similar to SurveyWrapper and renders the feed through a genericfeed.ftl template which is found in content/template/feed. The location of this template is hardcoded into the DataResourceWorker class. I have added 2 feed demos to the ecommerce module (ecommerce/demo/DemoFeedData.xml). On the content box on the left there should be a Feeds link. I've used the BBC and Yahoo News feeds and had to comment out the main feed logos in the genericfeed.ftl thanks to the BBC copyright - didn't check Yahoo. The viewcontent is secure so you get an annoying popup telling you part of this page isn't secure. > Managing RSS Feeds From the Content Manager > ------------------------------------------- > > Key: OFBIZ-721 > URL: https://issues.apache.org/jira/browse/OFBIZ-721 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: content > Reporter: Rupert Howell > Attachments: ContentRSSFeeds.patch > > > Over the last few weeks I've been doing some work on a site that will be gathering RSS feeds from other sites and displaying the headlines accordingly. I have used Rome which is a set of RSS/Atom tools and is apparently Apache licensed https://rome.dev.java.net/. Integration with OFBiz was easy - but my work on this really is in a proof of concept phase. I have taken RSS feeds from other sites and displayed them on an OFBiz site - that's about it. > I would like to extend the Content Manager to manage these feeds so it is easy to choose and change which are being displayed. Ultimately - I would also like to publish RSS feeds from the CMS so people can be kept up to date with Forum/Blog posts, news etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |