While we wait for the fix from Gawker themselves (which will not work anyway

Currently it only works with YouTube and Vimeo embeds. There are also Twitter embeds in the articles but those aren't supported yet (if ever).
nowotny wrote:Hello.
While we wait for the fix from Gawker themselves (which will not work anyway) I wrote a small plugin to fix the issue. You can find it here: https://github.com/nowotny/ttrss-fix_gawker_embeds
Currently it only works with YouTube and Vimeo embeds. There are also Twitter embeds in the articles but those aren't supported yet (if ever).
Code: Select all
E_WARNING (2) classes/db/pgsql.php:38 pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_... ^ username 13:55
E_WARNING (2) classes/db/pgsql.php:57 pg_num_rows() expects parameter 1 to be resource, boolean given username 13:55
E_USER_ERROR (256) classes/db/pgsql.php:46 Query SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_user_entries` WHERE `ref_id` = `id` AND `unread` = 1 AND `owner_uid` = 2 failed: ERROR: syntax error at or near "`" LINE 1: SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_... ^ username 13:55
Code: Select all
"/ajax/inset/iframe?id=instagram-78mUe8mU_y&autosize=1"
Code: Select all
https://instagram.com/p/78mUe8mU_y/media/
Code: Select all
https://api.instagram.com/oembed/?url=https://instagram.com/p/78mUe8mU_y/
J M L wrote:This seems to be working for me for Youtube. The retroactive fix fails with the log messages:Code: Select all
E_WARNING (2) classes/db/pgsql.php:38 pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_... ^ username 13:55
E_WARNING (2) classes/db/pgsql.php:57 pg_num_rows() expects parameter 1 to be resource, boolean given username 13:55
E_USER_ERROR (256) classes/db/pgsql.php:46 Query SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_user_entries` WHERE `ref_id` = `id` AND `unread` = 1 AND `owner_uid` = 2 failed: ERROR: syntax error at or near "`" LINE 1: SELECT `id`, `link`, `content` FROM `ttrss_entries`, `ttrss_... ^ username 13:55
That might give some clues to the error, but I don't know enough (any!) php or sql to debug it.
J M L wrote:Perhaps it's far more difficult than that.
Users browsing this forum: No registered users and 1 guest