summaryrefslogtreecommitdiff
path: root/classes/feeditem/atom.php
AgeCommit message (Collapse)Author
2022-10-01Fix PHP8 strtime warning if argument is null (addendum)jmechnich
2022-08-12Replace use of 'array_merge' with the spread operator and 'array_push' in ↵wn_
various places. This isn't supported for arrays with string keys until PHP 8.1. https://wiki.php.net/rfc/spread_operator_for_array
2022-07-31update phpstan to 1.8.2Andrew Dolgov
2022-03-09various fixes vor php 8.1 compatibilityDavid Edler
Cherry-picked from https://git-gitea.tt-rss.org/fox/tt-rss/pulls/56, while excluding changes in vendor/ (causes compatiblity issues with PHP<8 [1]) and strftime-related ones (already re-applied in https://git-gitea.tt-rss.org/fox/tt-rss/pulls/66). [1] https://community.tt-rss.org/t/support-for-php-8-1/5089/9
2021-12-01Revert "various fixes vor php 8.1 compatibility"Andrew Dolgov
This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09.
2021-11-30various fixes vor php 8.1 compatibilityDavid Edler
2021-11-15Address PHPStan warnings in FeedItem classes.wn_
2021-05-21feeditem_atom: support xml:base for enclosures and entry contentAndrew Dolgov
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
2021-03-05rename unfairly prefixed get_enclosures() in feeditemAndrew Dolgov
2021-02-15article: unify namingAndrew Dolgov
2019-11-20tag-related fixesAndrew Dolgov
1. move tag sanitization to feedparser common item class 2. enforce length limit on tags when parsing 3. support multiple tags passed via one dc:subject and other such elements, parse them as a comma-separated list 4. sort resulting tag list to prevent different order between feed updates 5. remove some duplicate code related to tag validation 6. allow + symbol in tags
2018-12-26parser: clean() attribute values by default (except content)Andrew Dolgov
2018-08-21parser: move media:element handling to feeditem_common; use media:content ↵Andrew Dolgov
@media attribute to generate placeholder content-type if not specified
2018-08-12fix previous to not crash if document first child is not a DOMElement or ↵Andrew Dolgov
whatever
2018-08-12Determine language for atom entry without a loop.Tobias Kappé
2018-08-12Store language of entries as indicated by the feed.Tobias Kappé
2017-09-09Use 'saveHTML' when generating HTML from a DOMDocument.wn_
This primarily occurs when modifying article content. If 'saveXML' is used following 'loadHTML' there is the possibility of strangeness, such as a self-closing anchor tag. Note that the DOMDocument used in 'classes/feeditem/atom.php' came from 'loadXML', but we use 'saveHTML' since we're returning HTML content.
2017-04-26remove some redundant php closing tagsAndrew Dolgov
2016-01-23parser: properly support tag subtrees instead of text content for article ↵Andrew Dolgov
content
2016-01-23Revert "parser: use node->c14n() instead of expecting html in nodeValue"Andrew Dolgov
This reverts commit 1383514ad9e7630a3d9627e052780b8fcadab25a.
2016-01-23parser: use node->c14n() instead of expecting html in nodeValueAndrew Dolgov
2014-07-15Store size of enclosure to databaseFelix Eckhofer
2014-03-04parser: trim some some feed-extracted data link titles and linksAndrew Dolgov
2014-01-12parser: fix failing on empty media:group tagsAndrew Dolgov
2013-12-15parser: add basic support for media:thumbnailAndrew Dolgov
2013-11-17Follow the spec for <media:group>sJeffrey Tolar
Each <media:group> section specifies multiple representations of the same content.
2013-08-05support media:description for media: enclosuresAndrew Dolgov
2013-08-05simplify media:content xpathAndrew Dolgov
2013-08-05parser: support media:content elements within media:groupAndrew Dolgov
2013-07-29atom: only perform xml:base based rewriting if base element exists (closes #761)Andrew Dolgov
2013-07-11atom: remove rel2abs; use rewrite_relative_urlAndrew Dolgov
2013-07-09fixing the rel url to abssyrnon
2013-07-09calculating base locallysyrnon
2013-07-03Update atom.phpsyrnon
2013-06-20better root element detection for atom content type xhtml (closes #720)Andrew Dolgov
2013-06-10atom: support <published>Andrew Dolgov
2013-06-01support dc:date elements in rss and atom feedsAndrew Dolgov
2013-05-26better support for atom:link elements in rss feeds, support rel=standout ↵Andrew Dolgov
(fuck you google and your nonstandard shit)
2013-05-16better support for atom content type xhtmlAndrew Dolgov
2013-05-15atom parser: experimental fix for feeds which do not encode entry contentAndrew Dolgov
2013-05-02atom: fix rel=alternate linksAndrew Dolgov
2013-05-01move common methods to feeditem_commonAndrew Dolgov
2013-05-01support dc:creatorAndrew Dolgov
2013-05-01add support for dc:subject and slash:commentsAndrew Dolgov
2013-05-01pass xpath object to feeditem, support media-rss objectsAndrew Dolgov
2013-05-01add basic rss supportAndrew Dolgov
2013-05-01add basic tinyparser/atomAndrew Dolgov