OPML export/import of some proprietary FreshRSS attributes#4342
OPML export/import of some proprietary FreshRSS attributes#4342Alkarex merged 5 commits intoFreshRSS:edgefrom
Conversation
#fix FreshRSS#4077 And one of the TODOs of FreshRSS#4220 XPath options, CSS Selector, and action filters
app/Services/ExportService.php
Outdated
| /** @var FreshRSS_TagDAO */ | ||
| private $tag_dao; | ||
|
|
||
| const FRSS_NAMESPACE = 'https://freshrss.org/#v1'; |
There was a problem hiding this comment.
@marienfressinaud Any comment? :-)
(I would suggest a redirect to a documentation page)
Alternatives include http://purl.org , maybe http://xmlns.com / http://opml.org (more ambitious), or a non-URL URI
There was a problem hiding this comment.
https://freshrss.org/opml ? (I will not be able to redirect the #v1 hash)
There was a problem hiding this comment.
https://freshrss.org/opml looks good @marienfressinaud :-)
(Of course for #v1 but it was to avoid introducing a non-working URL so far)
There was a problem hiding this comment.
Ok, let me know when the documentation page is ready, I'll do the redirection then
There was a problem hiding this comment.
|
To be clearer, I continue the work at https://framagit.org/marienfressinaud/lib_opml and I'm currently improving the support for special attributes (cf. https://framagit.org/marienfressinaud/lib_opml/-/merge_requests/16). Since it's not finished yet, I still can add the support for custom namespaces :) |
#fix #4077
And one of the TODOs of #4220
So far: XPath options, CSS Selector, and action filters:
I do not believe we should export everything in OPML, but those attributes at least make sense.
Relevant parts of the OPML specification:
Notes: Modifies the
lib_opmllibrary to support (basic) XML namespaces. Like previous PRs such as #1112 , #1206 , but the library has been archived so my upstream issues / PRs are not visible anymore. The author oflib_opml( @marienfressinaud ) wrote: