1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implement AMP Project framework

Discussion in 'XenForo Suggestions' started by thumped, Oct 8, 2015.

  1. thumped

    thumped Well-Known Member


    DL6, JustinHawk, Andre Daub and 69 others like this.
  2. Fred.

    Fred. Well-Known Member

    This would be nice in XF 2.0 :)
    Pierce likes this.
  3. kontrabass

    kontrabass Well-Known Member

    Pierce likes this.
  4. Walter

    Walter Well-Known Member

  5. Pierce

    Pierce Well-Known Member

    I want to add to this that the Xenforo mobile interface is a killer feature and compliance with AMP is important when traffic is 70%+ mobile.
    thumped likes this.
  6. OperaManiac

    OperaManiac Well-Known Member

    WordPress.com today announced that all their blogs are now AMP enabled.
    WordPress.org already has a plugin that you can install to make your self hosted blog AMP enabled.
    I hope XenForo developers look into making this a core feature of the platform to support the initiative. Cheers.
    StarArmy, Pierce, RoldanLT and 2 others like this.
  7. Fred.

    Fred. Well-Known Member

    StarArmy and maxicep like this.
  8. maxicep

    maxicep Active Member

  9. Divvens

    Divvens Well-Known Member

    Yep got the email blast that webmaster tools sent out, AMP is going to also affect search listings now and becomes important to be implemented/supported.
    optrex likes this.
  10. Recep Baltaş

    Recep Baltaş Well-Known Member

    This is a must. Hope we get it soon with XF 2.0.
    Pierce likes this.
  11. Okan Vurdu

    Okan Vurdu New Member

    Does anyone have information about this subject? Is it planned to implement in next versions?
  12. Fred.

    Fred. Well-Known Member

    If you would like to support this suggestion like the first post in this thread.
    There is no information if it will be implemented or not, the best that you can do for now is like the first post.
    Okan Vurdu likes this.
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Having just spent a few minutes reading about it, it seems completely unusable to me for anything other than static pages.

    Look at the list of prohibited elements: https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md

    How is something like a forum going to function without forms, input elements, etc?

    Being forwarded to the AMP version of the page would be useless for anyone wanting to interact with it (e.g. post); they would then have to load the actual page anyway.
    CabCon, Veer, Amaury and 4 others like this.
  14. RobinHood

    RobinHood Well-Known Member

    Surely when google crawls a site it's reading the site as a read only logged out user without most form and input elements anyway? That is the version of the site that would benefit most from being AMP enabled as it's what gets crawled, listed in search results, hosted on the AMP serving system and then read by new organic (or logged out) visitors to your site?

    They get the fastest possible, optimized experience until they decide to register or login and interact with the forum. This faster experience could in itself increase your organic listings, thereby increasing the clickthrough rate to content on your site. The speed increase could additionally decrease bounce rates and encourage user registration conversion rates to get people using the full fat non-AMP version of your site.

    Not everyone posts on forums, there's lots of logged out lurkers and readers there just to read the content or find answers to questions. They don't want to register. A read only static AMP version of threads would benefit these users, wouldn't it?
    Mr Lucky, Pierce, Divvens and 3 others like this.
  15. Recep Baltaş

    Recep Baltaş Well-Known Member

    Most of the hit is read only. Amount of contributing users are maybe at 10%, even 5%. And most of the users do not contribute from mobile. If they want to, they use Tapatalk.
    Divvens likes this.
  16. Mike

    Mike XenForo Developer Staff Member

    Realistically, if we were to try to implement this, you'd likely be looking at an entirely differently styled page because:
    • Markup limits and changes (see more below)
    • Limits to some CSS rules (such as overflow)
    • Limits of CSS length and inclusion method (50,000 bytes and inlined)
    One sizable issue is the fact that <img> tags (and all other embeds) require explicit dimensions, which is generally something we don't track. Similarly, media embeds are often done a bit differently, though if they're just iframes they might be ok.

    By way of an example, here's a blog entry: http://blog.luxuryrestaurantguide.com/2016/03/03/thefutureoffood3dprinting/

    Here's the AMP version of it: http://blog.luxuryrestaurantguide.com/2016/03/03/thefutureoffood3dprinting/amp/

    If you accept that it's going to be a very stripped down version of the page and potentially missing some of the standard components you'd see in posts (particularly if there's any sort of more advanced/interactive features added; spoilers would probably be a good example), then it may be doable, but it would still be a significant feature to add (likely requiring a different "view" type entirely).
    Hoffi, BobbyWibowo, imno007 and 4 others like this.
  17. Kevin

    Kevin Well-Known Member

    Just had a flasbhack to the vB 'Archive' pages. {shudders} :coffee:
  18. RobinHood

    RobinHood Well-Known Member

    Could that be something whereby if the capacity to track those details were added a cron-job could be run to scan an existing site and populate those details for all exisiting embeds?

    If it's a significant undertaking, perhaps this could be a good candidate for another official XF bolt on such as enhanced search?

    AMP probably isn't really necessary for most forums, small ones, hobby forums, private ones, specific captive audience ones. But for certain admins with large amounts of quality content they want indexed and showing up in google search results to drive organic traffic, I imagine AMP enabled functionality could be worth paying extra for, especially if it results in more ad revenue for those admins.

    Will be interesting to see how things play out AMP enabled blogs and news sites to see if it is worth the extra work. I imagine purely due to the speed benefits of having AMP pages, the organic search ranking benefits will soon follow. Especially considering how bloated many blogs and news sites are these days.
    Pierce likes this.
  19. Veer

    Veer Well-Known Member

    Agreed with Brogan and Mike, Unliked the first post.
    xenfans and Rudy like this.
  20. Fred.

    Fred. Well-Known Member

    I understand it's a very stripped down version, that's why it's AMP. If the page is large and has lots of JS and objects, tables in it it will be slower so you have to strip it down.
    AMP is working on Wordpress and for other CMS are working on it. If it works on a blog, it can work on a forum.
    I understand it won't be easy to add and requires a lot of work. I'm not asking to implement it in the next available version ether. But if it gets implemented it would probably be a good idea to start with it in XF2 because you are already making a lot of changes.
    On the desktop we can still have the same experience (the normal page) but on mobile you will get the simplified version or AMP page.
    Keep in mind that mobile traffic is larger than desktop traffic (in general)

    AMP is currently not a ranking signal, but expect that it will become a ranking signal. Because it's about speed, and Google is doing everything to speed up the web and improve user experience.
    Kintaro, Ugur Ilmaz, rafass and 4 others like this.

Share This Page