Tiny Tiny RSS: Community

Comments URL and count are read only

While working on a site-specific plugin I wanted to set the the URL and/or number of as most feeds do not supply this information or simply append it to the article text itself.

Only the number of comments is passed to the plugin with the rest of the article data but seems to be discarded when changed by the plugin.

Looking through rssutils.php I found out that num_comments is marked as read only and the UPDATE statement just uses the original value. Is there a special reason behind this behaviour or would it be possible to make this attribute writable?

i don’t think there’s any reason for it to be read only, i’ll make a note to take a look at this, unless someone wants to file a PR.