exstreme / Jcomments-4

Modified Jcomments 3.0.7 with Recaptcha 2 in comments. Adapted to Joomla 4. No compatibility with Joomla 1.5\2.5\3.x
16 stars 13 forks source link

RSS flow for last comments Jcomments 4 #130

Closed philevr closed 1 year ago

philevr commented 1 year ago

With Jcomments 3, we could use an RSS adress for an XML file with the 100 last comments of the site : cf. https://www.joomlatune.com/jcomments-faq.html

By default, the component exports the RSS-feed of comments for every item. The links to the RSS-feed can be found under the comments. However, it required sometimes to export the RSS-feed for all components of all items. Such RSS-feed is available under the following link: http://your_website_url/index2.php?option=com_jcomments&task=rss_full&no_html=1. There are 100 latest comments are displayed by default. This number can be changed in the future versions of the component.

URL http://your_website_url/index2.php?option=com_jcomments&task=rss_full&no_html=1 no longer works with Jcomments 4.

Have you some information about this issue ?

Globulopolis commented 1 year ago

@philevr try this Replace the file in components/com_jcomments/views/comments/view.feed.php by this https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/views/comments/view.feed.php

Globulopolis commented 1 year ago

You can use: to get comments for certain component by article ID: index.php?option=com_jcomments&view=comments&task=rss&object_id=1&object_group=com_content&format=feed Where object_id is the article ID.

to get last comments for certain component: index.php?option=com_jcomments&view=comments&task=rss_full&object_group=com_content&format=feed Where object_group can be string(e.g. com_content) or list of groups separated by comma, e.g. com_content,com_some1

to get comments for certain user: index.php?option=com_jcomments&view=comments&task=rss_user&userid=1&format=feed

All three links support limit variable. Default value from feed limit in Joomla settings.

philevr commented 1 year ago

It's fine ! All the three comments URLs seem to work well... and the second one is what I was using...

gafason1960 commented 1 year ago

The update is a success, you can install it in Joomla 4 without any difficulty from version 4.0.27, now my site has version 4.0.28 without any problem, thanks (exstreme)