Catalogue comments and rss filters
Posted
#2125
(In Topic #405)

Standard member

I have a couple of questions, on howto.
- Is there a way of being able to filter an rss feed to only show a particular catalogue, and not all of them. I am trying to use the rss feed block to show new entries for one of my catalogues.
- I would like to enable comments by default for my catalogue entries, however by default it looks like you have to enable comments in the meta for each catalogue entry. I am probably missing something obvious here.
Posted

Site staff

No need to apologise for asking questions, I still do and I've been here a long time now.
Posted

Standard member

I am using a Catalogue for micro computer projects where there are a few fields for the respective poster to complete. I am now trying to simplify this by having one of the options ie. Comments, automatically enabled. Feedback is a big part of the projects being listed. I would expect that it should be a matter of a simple field template edit, using simple loosely as I cant't find it.
Posted

Standard member

I am having to identify each category i want in the feed via:
backend.php?type=RSS2&mode=catalogues&select=13,17
I would prefer to have a listing of all entries under a particular catalogue.
Posted

Site director

UPDATE cms_catalogue_entries SET allow_comments=1 WHERE c_name='foobar';
RSS- Yes, you can use the select parameter. If you have a tree catalogue you can achieve what you want using the Selectcode '*' feature on the root category. E.g. if the root category is #5, you can do select=5*.
If not using a tree it would be more difficult. If categories were created in bulk you could use '-' to do ranges.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Site director

sources/hooks/systems/rss/catalogues.php
We'll include this in 10.0.1.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

Using the file Chris attached you can use the following:
backend.php?type=RSS2&mode=catalogues&catalogue_categories&select=projects
For my site this will call every entry from my projects catalogue including all subsequent category entries. It ignores any other catalogues. ie. FAQ
Thankyou again Chris.
1 guest and 0 members have just viewed this.