SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying to write RSS feed

    I'm trying to create an RSS feed for a polling website. I cant figure out how to extract a title of a question. Below is the format:


    <td class="question">
    <h2><a href="http://myvoternation.com/question/health/do-bright-girls-give-up-too-quickly">Do Bright Girls give up too quickly?</a></h2>


    I figured out how to extract the url, but I cant figure out how to extract the actual title of the question.

    Any suggestions? Many thanks!

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not get your point.
    Do you like to create a RSS Feed or you like to Extract RSS Feed.

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,147
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    Please post the portion of code you're using to get the href value, it should make things easier to figure out how to get the node value.


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
  •