From 05ae1b0d2684cea4eda664c5ea1a995cb9f0c4b9 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 9 Feb 2023 13:57:20 +0100 Subject: XML+XPath (#5076) * XML+XPath #fix https://github.com/FreshRSS/FreshRSS/issues/5075 Implementation allowing to take an XML document as input using an XML parser (instead of an HTML parser for HTML+XPath) * Remove noise from another PR * Better MIME for XML * And add glob *.xml for cache cleaning * Minor syntax * Add glob json for clean cache --- docs/en/developers/OPML.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/en/developers/OPML.md') diff --git a/docs/en/developers/OPML.md b/docs/en/developers/OPML.md index 2190a1de3..f65fd2faa 100644 --- a/docs/en/developers/OPML.md +++ b/docs/en/developers/OPML.md @@ -17,12 +17,14 @@ FreshRSS uses the XML namespace to export/import ext The list of the custom FreshRSS attributes can be seen in [the source code](https://github.com/FreshRSS/FreshRSS/blob/edge/app/views/helpers/export/opml.phtml), and here is an overview: -### HTML+XPath +### HTML+XPath or XML+XPath * ` ℹ️ [XPath 1.0](https://en.wikipedia.org/wiki/XPath) is a standard query language, which FreshRSS supports to enable [Web scraping](https://en.wikipedia.org/wiki/Web_scraping). +* ` Date: Thu, 23 Feb 2023 11:14:55 -0800 Subject: Corrected `frss:xPathItemTitle` definition (#5140) --- docs/en/developers/OPML.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/en/developers/OPML.md') diff --git a/docs/en/developers/OPML.md b/docs/en/developers/OPML.md index f65fd2faa..5191592a8 100644 --- a/docs/en/developers/OPML.md +++ b/docs/en/developers/OPML.md @@ -29,7 +29,7 @@ The following attributes are using similar naming conventions than [RSS-Bridge]( * `frss:xPathItem`: XPath expression for extracting the feed items from the source page. * Example: `//div[@class="news-item"]` -* `frss:xPathItemTitle`: XPath expression for extracting the feed title from the source page. +* `frss:xPathItemTitle`: XPath expression for extracting the item’s title from the item context. * Example: `descendant::h2` * `frss:xPathItemContent`: XPath expression for extracting an item’s content from the item context. * Example: `.` -- cgit v1.2.3