Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6335567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:52:59+00:00 2026-05-24T18:52:59+00:00

have this webpage http://www.westminster.ac.uk/schools/computing/undergraduate . I’m using hpple to retrieve data (just started learning

  • 0

have this webpage http://www.westminster.ac.uk/schools/computing/undergraduate . I’m using hpple to retrieve data (just started learning about it). I want to specifically retrieve the href from he main page, how can i do this?

I have this line – “NSArray *elements = [xpathParser search:@”//a”];” is able to retrieve all of the href links within the page however how can i retrieve just the ones in the main content? e.g. “BSc Honors Busniess Information Systems”? whats the syntax for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:53:02+00:00Added an answer on May 24, 2026 at 6:53 pm

    It looks like all of the “main content” stuff is found underneath elements with id attributes like “content_div_XXXX” where XXXX is some randomly generated sequence. You might be able to get at what you want using an XPath that looks something like:

    //div[starts-with(@id,'content_div')]//a
    

    You should be able to get something like this working, although you’d have to try it out and perhaps tweak it a bit to make it work precisely as you want. Refer to W3Schools XPath page for a good set of XPath tutorials

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webpage that redirects to another webpage like this: http://www.myOtherServer.com/Sponsor.php?RedirectPage=http://mylink.com/whereIwasgoingtogo.html Then the
I have a webpage at http://www.optiekmeulemeester.be/normal with sliding navigation. This happens with the following
What i'm trying to do is crawl this webpage using C# http://www.madisonhonda.com/Preowned-Inventory.aspx?layout=layout1# What I
I have a webpage (say www.example.com/a.asp) .. I am having an iframe in this
I have a webpage that displays a very large list of data. Since this
I have little question about how web browser retrieve webpage? I know this User
The other day i just happened to visit this site :- http://www.peter-pearson.com/ Can anybody
I have this code for reading webpage. I need to send http header to
I noticed that using urllib to download a webpage: http://www.amazon.co.uk/Darkness-II-Limited-PC-DVD/dp/B005ULLEX6 the content that I
Could someone please look at the menu on this webpage: http://www.henryscafebar.co.uk/Home.aspx For some reason

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.