I’m using Tiny Tiny RSS v17.4 and I have a small problem with the API.
What I’m trying to do is keep the HTML formatting of articles when I publish them through the API call. Currently this is being stripped (which is a very sane thing to do), but I’m the only one using the API for this instance and would like to get rid of the tag stripping. As a result I would like to be able to publish articles through the API or database call and keep the formatting of those articles.
I’ve tried editing the /classes/api.php to skip the strip_tags function there before it’s being passed to the database handler but that didn’t work out. I’m also not quite sure where the data is being passed or sanitized next.
I’ve also tried injecting published articles straight into the DB using MySQL, in an attempt to skip using the API but I got stuck on a constraint:
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (
ttrss_user_entries_ibfk_1 FOREIGN KEY (
id) ON DELETE CASCADE)
Does anyone have an idea or a hint on what I could try next?