i also made some changes to other elemens. for example i created a <header> and an <article> element. i grab introtext in my new <header> with an <h2> so the facebook can grab it as a subtitle. now the part i need for instant articles...
I found a solution for making k2 rss feed more compatible with facebooks instant articles. All you need to do is to configure some elements in the file com_k2/models/item For the author you must find this part and add the lines...
Hallo everybody I want to add the author (or the author alias) of an item to rss feed , cause i need it for facebook instant articles. How i can do it? Which file i must override?
i used the following code: <script> (function ($) { $(".itemFullText img").each(function() { var src = $(this).attr('src'); var a = $('<a/>').attr({href: src, 'data-k2-modal': 'image'}) $(this).wrap(a); }); })(jQuery); </script> and it...
thanks! that worked!!! i ll try now the jquery code and i hope that it ll works too,
Thanks a lot! Worked fine!
Hallo! Images in my fulltext dont open in pop up, althouth i have add to them an <a class="modal" rel="{handler: 'image'}" href="..."> An example ->...
Hallo there! Im trying to setup facebook instant articles via rss and i face several difficulties. an example from what FB grabs from my content. <html> <body><article><figure><img...
Ok! Thanks!
For example, for this article: www.politicaldoubts.com/politics/item/1099-eksousia-kai-antieksousiastes-otan-i-kyvernisi-katadikazei-kai-synomilei facebook debugger grabs this:...
More