Skip to search.

Bring your content to your readers with Yahoo! Alerts.

Make it easy for your readers to find out when new content is added to your RSS-enabled web site by adding a Yahoo! Alerts widget or the action button. When a visitor to your site uses either of these on your page, he or she can set up an alert to receive updates every time your page changes. Readers can receive alerts whenever your feed is updated - via email, Yahoo! Messenger or a mobile device.

For readers, this is a powerful way to stay up to date with your content. For you, it is a fast, free and simple way to build an engaged user base.

You can now provide the Yahoo! Alerts experience to your users using either the inline widget or the action button. Please follow the simple instructions listed below to add either of these to your web page templates.

1: Add the Yahoo! Alerts inline widget

The widget javascript tries to locate the RSS document linked to your web site, in its header. Most blog hosting platforms already provide this by default. If you don't have one specified yet, you should specify your RSS endpoint by adding the link tag, in the header of your page template. For example, the top of your page might look like this:

Replace RSS-FEED-URL-GOES-HERE with your feed's URL.

Next, insert the widget javascript code wherever you want the widget to appear.

Note here that you should specify the position of the widget relative to your web site, so that the inline pop-up is positioned properly. Replace POS-OF-WIDGET-BUTTON with any one of the relative positions listed below:

  • TL or TC or TR: Widget button is to the top-left, top-centered or top-right of the web site, respectively.
  • L or R: Widget button is centered to the left or right of the web site, respectively.
  • BL or BC or BR: Widget button is to the bottom-left, bottom-centered or bottom-right of the web site, respectively.

That's it! You could read further for instructions on how to add the Yahoo! Alerts action button.

2: Add the Yahoo! Alerts action button


First, add a pointer to the control javascript called "yactions.js" in the header of your page templates. This should sit within your header tags, though it can be anywhere on the page if necessary. For example, the top of your page might look like this:

Second, insert the button code wherever you want the button to appear (it's a perfect complement to the Add to My Yahoo! button):

Replace RSS-FEED-URL-GOES-HERE with your feed's URL, and BUTTONID with a unique alphanumeric string (no special characters). If you put more than one button on a page, you must have a unique BUTTONID to identify each one.

That's it!

Did you know Yahoo! offers other free action buttons to make it easy for people to find, use and share your content? Visit the Yahoo! Publisher Network for more information.