JSONP vs IFrame?

后端 未结 4 826
北海茫月
北海茫月 2020-12-24 03:39

Soon I\'ll be needing to build a widget that some of our clients can embed in their own websites.

To future proof my widget the embed code would be something like th

4条回答
  •  隐瞒了意图╮
    2020-12-24 04:37

    I chose to go with JSONP. You can see the details of how I implemented it here: if I allow partner sites to republish my RSS feed, will that boost my SEO ranking?

    Some people gave their opinions on SEO. I'm still not sure, however, if it helps SEO. I just got an idea to test it though, and I'm going to carry it out right now! I'm going to make a page with just the JavaScript that renders the widget (feed in this case). Then, I'll use Google's Webmaster Tools to see if Google picks up any of the keywords in the feed content. I'll post the answer to the link above after I get the results.

    Wish us the best!

    Matt

提交回复
热议问题