Results 1 to 6 of 6

Thread: How to create GeoRSS Feeds in ASP.NET

  1. #1
    Join Date
    Feb 2010
    Posts
    763

    How to create GeoRSS Feeds in ASP.NET

    Hi all,

    I want to implement ASP.NET Web application, HTTP handler to return to the GeoRSS feeds. GeoRSS is RSS feeds with geo-spatial data used in a standard that defines a specific format called GeoRSS GML is used in the feeds contained in GML format. I want to know that how to create GeoRSS Feeds in ASP.NET. Please advice. Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    How to create GeoRSS Feeds in ASP.NET

    You need to achieve the HTTP handler for create GeoRSS Feeds in ASP.NET. Follow the steps:
    1. Start Microsoft Visual Studio 2008.
    2. In the File menu, click Open Site, and then open the C: \ SQLHOLs \ Spatial and VE \ Starter \ StoreFinderSite site.
    3. In Solution Explorer, expand the App_Code, and then double-click GeoRSSHandler.vb in the code editor to open it.

    HTTP handler is a code module for the processing of the Web application's HTTP requests. Is usually the default ASP.NET request processing procedures of the ASP.NET Web application requests, but you can for a specific file name extension to create a custom handler. In this case, you will realize will be used to deal with an extension. Georss file request handler.

    Check and reply.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to create GeoRSS Feeds in ASP.NET

    If you build the GeoRSS feed, add the following code in order to start building by the HTTP handler returned GeoRSS feeds.

    The following code of content:
    Code:
    rssOutput.AppendLine ( "
    rssOutput.AppendLine ("xmlns: georss = 'http://www.georss.org/georss'")  
    rssOutput.AppendLine ("xmlns: gml = 'http://www.opengis.net/gml'>")  
    rssOutput.AppendLine ("")  
    rssOutput.AppendLine ("Store Locations")  
    rssOutput.AppendLine ("")  
    rssOutput.AppendLine (""+ System.DateTime.Now + "")  
    rssOutput.AppendLine ("")  
    rssOutput.AppendLine ("SQL Server")  
    rssOutput.AppendLine ("")

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: How to create GeoRSS Feeds in ASP.NET

    You need to open a connection to the database and add the following code.
    Code:
    sqlConn.Open()
    After that use the GetStoresGML stored proc to get all stores by default, add the following code.
    Code:
    spName = "GetStoresGML"
    By default, this HTTP request handler calls GetStoresGML stored procedure and returns include all stores GeoRSS feeds.
    Thanks and reply.

  5. #5
    Join Date
    Feb 2008
    Posts
    1,852

    How to create GeoRSS Feeds in ASP.NET

    In Solution Explorer, click the root of the tree is located under the Web site project file, and then press F4 to view its properties. Please note that the port number observed properties. On the website menu, click Start Options. Select Start URL, enter the following URL (the port to replace the port number for the site value of the property), and then click OK.On the Debug menu, click Start (not debugging). When the Microsoft Internet Explorer open, view contains the store name of the RSS feeds page. Check and reply.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    How to create GeoRSS Feeds in ASP.NET

    You need to register HTTP Handlers

    1. In Solution Explorer, double-click the web.config in the editor to open it.
    2. In part, the comment Register the GeoRSSHandler for. Georss requests, add the following XML.
    <add verb="*" path="*. georss" type="GeoRSSHandler" validate="false"/>
    3.Save the web.config.
    You must be registered for a specific file extension HTTP handler for Internet Information Services will address the requests for these documents forwarded to the correct handler.

Similar Threads

  1. feeds synchronization error
    By Rusheek in forum Windows XP Support
    Replies: 6
    Last Post: 14-07-2012, 11:23 AM
  2. Failed to sync RSS feeds
    By Akul in forum Windows Software
    Replies: 4
    Last Post: 15-02-2010, 08:49 PM
  3. How I know about FEEDS if any website offers?
    By Macario in forum Technology & Internet
    Replies: 4
    Last Post: 11-01-2010, 07:32 PM
  4. How to publish RSS feeds in my website
    By JEROLD12 in forum Technology & Internet
    Replies: 5
    Last Post: 03-01-2010, 12:11 AM
  5. Problems updating RSS feeds in IE 8
    By Antrix in forum Technology & Internet
    Replies: 3
    Last Post: 31-07-2009, 03:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,729,457.70792 seconds with 16 queries