Wednesday, November 21, 2012

The AYSO News Widget

We recently debuted a news widget for use on AYSO Region websites. It’s fairly simple to use and comes in three different sizes to complement a variety of website layouts.

The widget is programmed in JavaScript, but doesn’t need to be placed in the page’s header tag. Simply copy the JavaScript tag and place it wherever you want it to show up on your website. If you want to have text wrap around the widget, you can place it in a DIV tag and float it in the text. Below is an example of how you would do that:

Code: <div style=”float: right;”><script type="text/javascript" src="http://marketing.ayso.org/js/aysonewswidget200.js"></script></div>

The DIV tag defines a division or a section in an HTML document and is used to group element, and then formats them with CSS.

To add the news widget to your website, visit the Region Toolkit.

For more information about how a DIV tag works, visit the W3C Schools website. They have great information on all things HTML/CSS.

3 comments:

  1. Any luck with fixing the xml feed for AYSO news? I tried using a news aggregator to add AYSO news on our site, but the xml feed contained an error or two preventing the propagation.

    Also, along those lines I think it would be great for AYSO to provide stock content for regional website use. The added content would be a huge boost for most sites in terms of SEO and the geographical separation of most regions would diminish the duplicate content penalty from google, bing, etc...

    ReplyDelete
    Replies
    1. Hi! Jen will respond to your question regarding the xml feed.

      In terms of the SEO - it is my understanding that Google does not take geographical location into consideration when it comes to SEO penalties for duplicate content. The spiders simply investigate if duplicate content on multiple URLs. http://webmasters.stackexchange.com/questions/31814/does-google-penalize-pseudo-duplicate-pages-for-different-locations

      http://www.seomoz.org/q/multiple-sites-multiple-locations-similar-duplicate-content

      For this reason, it's best for Region websites to have original content if they're looking to up their ranking.

      Delete
    2. I did go through the whole XML feed and validated it through an XML validator. I believe it should be valid and working. If not, please let me know and I'll take another look at it. We have multiple people working on it, so errors may happen here and there.

      Delete