Rss feed (again :)

More
3 years 9 months ago #82114 by Chabi01
Replied by Chabi01 on topic Rss feed (again :)
Hi :)
Ok, let see what I can tell you.

How it works ?

Flexicontent can add a rss feed for example for categories.
For this, the file located in components/com_flexicontent/views/category/view.feed.php is used to parse all the fields.
The user can add some fields in configuration (custom fields added for a type, or image to use in the feed).
This file extend the calss JViewLegacy with the class FlexicontentViewCategory and fill $document to return to the Joomla renderer.

The renderer then generate the final rss file with the Joomla core file : /libraries/src/Document/Renderer/Feed/RssRenderer.php

The feed generated is always generated for each item with a unique rendered enclosure : <description>

Then, in this enclosure, you will find all the informations for each article : if you have added image or extra fields, these informations will be added inside <description>.

The goal is to be able to add the extra informations outside of <description>.
Then, if you add an image, the renderer should give you the choice to include as normally the image in the description OR if needed ask you the enclosure name to allow you to list the information outside of <description>.
For example, an image should be listed with :
<image><url>xxxxxxxxxxxxxx</url></image>

Same thing for any other extra field.

To achieve this on my side, check the whole thread here and dont forget to add an extra image field to use for the image in the type.

This is then not a real issue but an very important new feature : this feature already exists in some components like JEvents RSS (the feed generated separarate all the information correctly).
Why this is important ?
Some people use for they needs an android apps (or Apple apps) and to populate their tools, they need the feed formatted with the value corresponding to their needs : for example, if the app have a "news" category, people need to retrieve the date, the description, the url to check the news online directly, and obviously an image.
If now the image is in <description> and not in his own enclosure, the android app does not show correctly the informations.

For the record, you can find this for example for City Hall apps : the city give to people an app and this is always asked.

Tell me if this is enought for you Yannick (if you need this explanation in french, I can explain this in french too ;)
Xavier

 

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #82116 by micker
Replied by micker on topic Rss feed (again :)
i add it in github issue
did you know its important to manage tag arround value ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #82118 by Chabi01
Replied by Chabi01 on topic Rss feed (again :)
Hi Micker,
Can you translate in french you sentence ?
"....did you know its important to manage tag arround value ? ..."
I didnt get your point ;)

Xavier

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #82121 by micker
Replied by micker on topic Rss feed (again :)
=> that i say is did you think it important to create <customtag> </customtags> arrounf value peer field

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save