Welcome to WebmasterWorld radermacgk12.
It's been a while since I've worked with Access, so I won't give you good specifics on that end. However, you should be able to output data to a file that puts data into an RSS or Atom template. For example, you could use the RSS 2.0 Specification [cyber.law.harvard.edu] as a guideline to make a template for the output file. Then you just need to add the appropriate information fields from your database into the corresponding areas of the template.
bill , is it possible to use an asp file as a feed
It's an XML file being output, but you could use anything from PHP to ASP to create the file, as long as the final format is correct.
I can't comment to much on asp specificaly, but you can use almost any server side scripting language to create an xml file. I have done this in the past using php. What I did was create a file called feed.xml this file was in fact a php file with an xml file extension. I was then able to set up the server so that xml was handled in the same way php would be.
When a request was made for feed.xml the php file did its stuff, queried the database and created the output. To the browser or application that was requesting feed.xml they just saw xml output. If you set up your script to create xml style output, and have an xml extenson to the end user/applicaion it will be as good as a true xml file.
<?xml version="1.0" encoding="ISO-8859-1"?>
<% Response.Buffer = true
Response.ContentType = "text/xml"
strInput = Replace(strInput,"&", "&")
strInput = Replace(strInput,"'", "'")
strInput = Replace(strInput,"""", """)
strInput = Replace(strInput, ">", ">")
strInput = Replace(strInput,"<","<")
ApplyXMLFormatting = strInput
<copyright>All Rights Reserved.</copyright>
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = Application("forum_system_dsn")
Dim objRS, strSQL, strDesc
strSQL = "sp_GetTop25Posts"
Set objRS = objConn.Execute(strSQL)
Do While Not objRS.EOF
strDesc = "<b>Message by " & objRS("MsgAuthor") & " on " & _
objRS("MsgDate") & " EST</b><br>" & _
Set objRS = Nothing
Set objRS = Nothing
Set objConn = Nothing
The File should be saved as an asp file
No. The file should be saved as XML. You just need to let the server know how to parse the XML file as ASP.
feedburner accepts the asp file as input. if it saved as a xml file, how it will fetch data from the server side
There are ways to get your webserver to parse other pages just as if they were ASP. You just need to configure your server to know that .XML files should be parsed the same way an .ASP page would.
is it mandatory to have the feed as .xml file . can it be .rss file. Still the feeds appear in feedburner
Feedburner is really off-topic to this thread.
If you want to make an RSS feed from an Access database then you would want to output an XML file in the format of the RSS specification linked to above.
bill, but do the feed aggregators accept files other than .xml as feeds(if they comply to the specs)
I'm not sure what you're asking I guess. If the file complied with the XML specs then it would be an XML file.