Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS service #755

Open
Gomez opened this issue Jun 21, 2019 · 0 comments

Comments

@Gomez
Copy link

commented Jun 21, 2019

To implement a RSS tile (plone/volto#291) we need rest endpoints to bypass CORS problems. A POC could look like this:

A manager could post a rss url to this endpoint:

    <plone:service
      method="POST"
      name="@rss-feed"
      for="Products.CMFCore.interfaces.ISiteRoot"
      factory=".post.RssPost"
      permission="cmf.ManagePortal"
    />

Anonymous user cloud get rss feeds from this endpoint:

    <plone:service
      method="GET"
      name="@rss-feeds"
      for="Products.CMFCore.interfaces.ISiteRoot"
      factory=".get.RssFeedsGet"
      permission="zope2.View"
    />

In a first version it would be ok to just save the data in memory. On restart of the server, the first request would poll the RSS. Saving it persistent would be difficult.

For now we decided to postpone the rss tile. To much work and security issues to get it into core/restapi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.