|
Add Immigration News to Your Web Site
Option 1: Rotating Banner Headline:

Add this code:
<a href="http://feeds.feedburner.com/SteinReport"><img src="http://feeds.feedburner.com/SteinReport.gif" style="border:0" alt="Stein Report"/></a>
Option 2: Listing of Headlines
The easiest way to add these headlines (along with a brief clip from each entry) is to insert the following code into your page:
<script src="http://feeds.feedburner.com/SteinReport?format=sigpro" type="text/javascript" ></script><noscript><p>Subscribe to RSS headline updates from: <a href="http://feeds.feedburner.com/SteinReport"></a><br/>Powered by FeedBurner</p> </noscript>
Use the method below to just add the headlines with no text:
Want to give your web site constantly updated content and provide your visitors with the latest immigration news? You can display the latest Stein Report headlines on your web page--and they'll be automatically updated every time the stories change, with no action needed on your part! Headlines change several times each weekday and will link your visitors to a summary of each story and further background info. You'll need to insert some HTML code to make it work, but once you've added the code, you'll be all set.
Now, here's the code you need to add to your page:
<div style="width:230;"> <iframe src="http://www.steinreport.com/srparse2.php" height="250" width="230" scrolling="auto" frameborder="0" marginheight="0" marginwidth="0"> </iframe> <div>
This code creates an inline frame in your page. The frame's width is 230 and the height is 250. You can adjust these to suit your individual page, but the width of the page that is being framed is 200, so you'll likely get a horizontal scrollbar if you go below that width. Similarly, you can set a border for the inline frame.
Optional: If your're interested in coding your own PHP (Personal Home Page) script to parse the Stein Report headlines, you can go to this Sitepoint.com tutorial. The Stein Report's RSS 1.0 feed is at http://www.steinreport.com/index.rdf
You can also set color and other styles for the frame, as in this example:
<div style="border:2px red solid; width:230;"> <iframe src="http://www.steinreport.com/srparse2.php" height="250" width="230" scrolling="auto" marginheight="0" marginwidth="0"> </iframe> <div>
In this example, the frame has been set to have a solid red border 2 pixels in width using an inline style declaration. There are a lot of CSS - Cascading Style Sheet - references on the web. Try the World Wide Web Consortium at http://www.w3.org/Style/CSS/
You may need to work with your page so that the headlines will display in the right place. Remember, where you put the headlines in your page will determine where they appear on the screen.
|