plone / plone/plone.restapi

RSS service

Open
#755 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

04 type: enhancement 14 prio: low
Dominant language
Python
Stars
109
Forks
107
Avg merge
2d 3h
Merged PRs (30d)
4

Description

To implement a RSS tile (https://github.com/plone/volto/issues/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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Volto issue 291 and the proposed @rss-feed and @rss-feeds service definitions. Confirm whether the RSS tile is still in scope and resolve the stated security and persistence concerns before implementation; done would require agreed REST endpoint behavior for manager-submitted and anonymous RSS access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.