+ Reply to Thread
Results 1 to 5 of 5

Web scraping with xml

  1. #1
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Web scraping with xml

    Hi,

    Can anyone help me finish this macro? I have the following but can't get the innertext.

    Please Login or Register  to view this content.
    Thanks.

    abousetta
    Last edited by abousetta; 09-23-2012 at 07:34 PM.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Web scraping with xml

    If it's just xml, use the xml document object, it's much easier than trying to stuff xml in an html object:
    Please Login or Register  to view this content.
    I've assumed that you wanted the count for the overall results, there are multiple count properties in the document
    Last edited by Kyle123; 09-24-2012 at 03:47 AM.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Web scraping with xml

    Thanks Kyle. This is exactly what I needed. As I learn XML more, my needs will probably change in future tasks but for the current project, I just wanted to extract the count.

    Have a great Monday.

    abousetta

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Web scraping with xml

    Thanks for the feedback, glad you got it sorted

    You like that website don't you? I seem to remember some long thread where you were trying to extract journal summaries from a JSON webservice that were based on that site.

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Web scraping with xml

    Yes, pubmed is one of the most frequented websites for medical (journal) information. It's the free portal to the National Library of Medicine's Medline database. I practically search it daily for one reason or another. As part of my work, we have to do extensive searches of PubMed along with other medical citation databases and automating the process has taken a great deal of load off me, but the learning curve is really more like a rocky road than a curve .

    Thanks again for all your help and insight.

    abousetta

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1