Process categories from RSS and relate news imported with those categories
As yafi uses SimplePie to parse RSS it was easy to add support for also parse RSS categories and associate news imported with these RSS categories if some category with the same name exists in database.
Usually categories appear at RSS like this:
<item> <title>Post about yafi</title> ... <category><![CDATA[TYPO3]]></category> <category><![CDATA[yafi]]></category> <category><![CDATA[PHP]]></category> ... </item>Basic behaviour:
- Import one post that has the categories TYPO3, yafi and PHP in the RSS
- If you have defined in your website the categories TYPO3 and PHP
tt_newsrecord imported will be related with TYPO3 and PHP
It's really useful for me so I'm sharing a patch to add this new feature to the extension. Hope you find this useful. I'd be very glad if you add it in the next extension release.
No data to display