Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Rss Implemetation

Rss Implemetation

Scheduled Pinned Locked Moved XML / XSL
question
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    ksss_maheshece
    wrote on last edited by
    #1

    Hello friends, How can i implement RSS feeds in wy website. Thanks in ADvance. With regards, MAHESH.K

    D K 2 Replies Last reply
    0
    • K ksss_maheshece

      Hello friends, How can i implement RSS feeds in wy website. Thanks in ADvance. With regards, MAHESH.K

      D Offline
      D Offline
      DoctorMick
      wrote on last edited by
      #2

      Have you tried google yet?

      K 1 Reply Last reply
      0
      • D DoctorMick

        Have you tried google yet?

        K Offline
        K Offline
        ksss_maheshece
        wrote on last edited by
        #3

        I've tried more and found out how to create xml.but i didn't get how to implement in my web page

        modified on Friday, July 3, 2009 9:11 AM

        S 1 Reply Last reply
        0
        • K ksss_maheshece

          I've tried more and found out how to create xml.but i didn't get how to implement in my web page

          modified on Friday, July 3, 2009 9:11 AM

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          An RSS feed will have an associated URL that will fetch the XML making up the RSS feed. You web site should respond to requests for that URL by returning the RSS's XML. Not tricky.

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          1 Reply Last reply
          0
          • K ksss_maheshece

            Hello friends, How can i implement RSS feeds in wy website. Thanks in ADvance. With regards, MAHESH.K

            K Offline
            K Offline
            K0306
            wrote on last edited by
            #5

            Try this code for RSS feeds. <div align="center"> <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://www.hindu.com/rss/07hdline.xml" XPath="rss/channel/item"></asp:XmlDataSource>  </div> <div align="center"> <asp:DataList ID="DataList1" runat="server" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="XmlDataSource1" ForeColor="Black" GridLines="Vertical" Width="500px"> <FooterStyle BackColor="#CCCC99" /> <SelectedItemStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" /> <AlternatingItemStyle BackColor="White" /> <ItemStyle BackColor="#F7F7DE" /> <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" /> <ItemTemplate> <asp:Label Text="Title : " Font-Bold="true" ForeColor="blue" ID="lbltitle" runat="server"></asp:Label><%#XPath("title")%> <hr color="#0099ff" /> <asp:Label Text="Link : " Font-Bold="true" ForeColor="blue" ID="Label1" runat="server"></asp:Label><a target="_blank" href='<%#XPath("link")%>' ><%#XPath("link")%></a> <hr color="#0099ff" /> <asp:Label Text="Description : " Font-Bold="true" ForeColor="blue" ID="Label2" runat="server"></asp:Label><%#XPath("description")%><br /> <hr color="#0099ff" /> <asp:Label Text="Published Date : " Font-Bold="true" ForeColor="blue" ID="Label3" runat="server"></asp:Label><%#XPath("pubDate")%><br /> <hr color="#0099ff" /> <br /> </ItemTemplate> </asp:DataList> </div> you should specify the DataFile and XPath in "asp:XmlDataSource" - you should get these information from any RSS provided websites.

            K 1 Reply Last reply
            0
            • K K0306

              Try this code for RSS feeds. <div align="center"> <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://www.hindu.com/rss/07hdline.xml" XPath="rss/channel/item"></asp:XmlDataSource>  </div> <div align="center"> <asp:DataList ID="DataList1" runat="server" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="XmlDataSource1" ForeColor="Black" GridLines="Vertical" Width="500px"> <FooterStyle BackColor="#CCCC99" /> <SelectedItemStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" /> <AlternatingItemStyle BackColor="White" /> <ItemStyle BackColor="#F7F7DE" /> <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" /> <ItemTemplate> <asp:Label Text="Title : " Font-Bold="true" ForeColor="blue" ID="lbltitle" runat="server"></asp:Label><%#XPath("title")%> <hr color="#0099ff" /> <asp:Label Text="Link : " Font-Bold="true" ForeColor="blue" ID="Label1" runat="server"></asp:Label><a target="_blank" href='<%#XPath("link")%>' ><%#XPath("link")%></a> <hr color="#0099ff" /> <asp:Label Text="Description : " Font-Bold="true" ForeColor="blue" ID="Label2" runat="server"></asp:Label><%#XPath("description")%><br /> <hr color="#0099ff" /> <asp:Label Text="Published Date : " Font-Bold="true" ForeColor="blue" ID="Label3" runat="server"></asp:Label><%#XPath("pubDate")%><br /> <hr color="#0099ff" /> <br /> </ItemTemplate> </asp:DataList> </div> you should specify the DataFile and XPath in "asp:XmlDataSource" - you should get these information from any RSS provided websites.

              K Offline
              K Offline
              ksss_maheshece
              wrote on last edited by
              #6

              Thank u Mr.KKarthik2000. It is really helpful for me.Now only i get a clear concept of Rss.Thank u once again.I have no words to greet u.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups