#245 – A summary to my articles in AMP format

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Thursday, 09 December 2021 09:41 UTC
dragonfroid
Hello,

Thanks for your plugin.

On the other hand I have a small problem. My plugin which automatically makes the summaries of my articles is not compatible.

I wanted to know if you knew the name of a plugin (or a method) that would allow me to automatically implement a summary to my articles in AMP format.
Thanks in advance.
Thursday, 09 December 2021 09:45 UTC
wb_weeblrpress
Hi

I'm afraid not. Few plugins have taken the time to have an AMP compatible version. Is it using javascript?

Best regards
 
Thursday, 09 December 2021 09:51 UTC
dragonfroid
Dont know, i use https://codecanyon.net/item/fixed-toc-wordpress-plugin/7264676?ref=wphigh but since I have more visitors coming to my site through AMP, it doesn't get interesting at all.
Maybe the solution would be for me to do my summaries by hand above each article, but it loses its interest if it is not clickable links to each paragraph ...
Thursday, 09 December 2021 11:58 UTC
wb_weeblrpress
Hi

Maybe the solution would be for me to do my summaries by hand above each article, but it loses its interest if it is not clickable links to each paragraph ..

Not sure what the problem is. Might be just missing some css. If the plugin uses external CSS, then that cannot work with AMP, the CSS must be inside of the page.
If you have a link to the normal page (working) and the amp page (not working), I can maybe at least identify why it's not working, altough I won't be able to fix it.

Best regards
 
Monday, 13 December 2021 06:10 UTC
dragonfroid
https://untelephone.com/gramho-espionner-story-instagram/
https://untelephone.com/gramho-espionner-story-instagram/amp/

I don't think it will work. I'll have to look at how to make a "jump" link in the amp format...
Tuesday, 14 December 2021 14:29 UTC
wb_weeblrpress
Hi

I don't think it will work. I'll have to look at how to make a "jump" link in the amp format...
There's nothing special about AMP here. The jump links are simply fragment, eg a #xxx added at the end of a link

So on your first example, the first link is: https://untelephone.com/gramho-espionner-story-instagram/#ftoc-heading-1

The problem becomes that the target must have a corresponding ID. On a regular page, your plugin adds this id on each target:
<h2 id="ftoc-heading-1">Gramho : consulter Instagram en-dehors du site officiel et sans compte</h2>


On AMP pages, the plugin is not running on AMP pages (did you disable it?), then that id="ftoc-heading-1" part is missing and even if you created the links, you would not have the target.

Best regards


 
Tuesday, 14 December 2021 17:04 UTC
dragonfroid
Thank you.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.