08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Connecting to an RSS Feed XML File 183<br />

Connecting to an RSS Feed XML File<br />

You can use the XML File Connection command on the Data Sources tab to connect to<br />

an XML file located on an external server. You do not import the XML file to your site;<br />

instead, you link the external XML file to the site by using its URL.<br />

One popular external XML file is the one produced by an RSS feed. (Servers that publish<br />

their content as XML data that conforms to the RSS format are said to have an RSS feed.)<br />

Many Internet-facing servers produce RSS-formatted XML data as either an XML file or a<br />

server-side script that produces RSS-formatted XML data.<br />

Note Starting with Windows SharePoint Services 3.0, lists and libraries can expose their<br />

content by using RSS.<br />

In this exercise, you retrieve data published by an external server by linking to an XML<br />

file connection.<br />

Important In this exercise, you access an RSS feed over the Internet. To complete this<br />

exercise, you must have Internet access.<br />

SET UP Using SharePoint Designer, open the site you used in the previous exercise.<br />

Open the DataSourceTest.aspx page and Data Sources gallery page if they are not<br />

already open.<br />

XML File<br />

Connection<br />

1. Click in the Data Sources gallery page to activate the commands on the Data<br />

Sources tab, and then click XML File Connection.<br />

The Data Source Properties dialog box opens.<br />

2. On the Source tab, in the Location text box, type http://blogs.msdn.com/b/<br />

sharepoint<strong>designer</strong>/rss.aspx.<br />

Warning For you to connect to a URL on the Internet, your SharePoint Server<br />

administrator might have to configure on the SharePoint server(s) the web.config for<br />

proxy server settings.<br />

3. Click the General tab, and in the Name text box, type SharePoint Designer team<br />

blog.<br />

4. Click the Login tab, and verify that the Don’t attempt to authenticate option is<br />

selected.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!