Jump to content

BigGrayBeast

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Location
    N. VA

BigGrayBeast's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks Weaponx. I'll digest this over the weekend. Should be what I needed.
  2. I'm trying to parse an Atom file from Google Reader. It is all my Google Reader Starred items. I have used _XMLGetValue() successfully in another project to get data from an XML file, but the complication of name spaces here is throwing me. Can someone amend this code to make it work? #include <_XMLDomWrapper.au3> #include <File.au3> #include <Array.au3> dim $xmlFile = "C:\Documents and Settings\Mark\My Documents\My Dropbox\Google Reader Parse\g2en.xml" $oOXml = _XMLFileOpen($xmlFile) $XML_Path = "Not sure what to put in here" ; I'm aiming to recover the Name value (author's name), as an example. $arrayx = _XMLGetValue($XML_Path) _ArrayDisplay($arrayx,"Author's Name") The XML file from Google Reader: <?xml version="1.0" ?> - <feed xmlns:idx="urn:atom-extension:indexing" xmlns:gr="http://www.google.com/schemas/reader/atom/" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom" idx:index="no"> - <!-- Content-type: Preventing XSRF in IE. --> <generator uri="http://www.google.com/reader">Google Reader</generator> <id>tag:google.com,2005:reader/user/My Google Reader ID Blocked out here/state/com.google/starred</id> <title>Mark's starred items in Google Reader</title> <gr:continuation>CKv3_pKc_5wC</gr:continuation> <link rel="self" href="http://www.google.com/reader/atom/user%2FMy Google Reader ID Blocked out here/state/com.google/starred" /> - <author> <name>Mark</name> </author> <updated>2009-09-22T11:48:45Z</updated> - <entry gr:crawl-timestamp-msec="1253620125221"> <id gr:original-id="http://smarterware.org/?p=3296">tag:google.com,2005:reader/item/5616f8f931476bfc</id> <category term="user/My Google Reader ID Blocked out here/state/com.google/read" scheme="http://www.google.com/reader/" label="read" /> <category term="user/My Google Reader ID Blocked out here/state/com.google/starred" scheme="http://www.google.com/reader/" label="starred" /> <category term="user/My Google Reader ID Blocked out here/state/com.google/tracking-mobile-read" scheme="http://www.google.com/reader/" label="tracking-mobile-read" /> <category term="user/My Google Reader ID Blocked out here/state/com.google/fresh" scheme="http://www.google.com/reader/" label="fresh" /> <category term="Hardware" /> <category term="Mobile" /> <category term="battery life" /> <category term="laptops" /> <category term="Twitter" /> <category term="Twitter Q&A" /> <title type="html">Unplug Your Laptop Regularly (When In Doubt)</title> <published>2009-09-22T06:12:13Z</published> ... (rest of entry here, followed by many more entries) </entry> </feed> Thank you for any and all help. Mark
  3. If I had this array and first names, last names, and wives names: a[1][1] = "John" a[1][2] = "Doe" a[1][3] = "Ann" a[2][1] = "Bill" a[2][2] = "Adams" a[2][3] = "Joanne" How would I sort by Last name? Thanks
×
×
  • Create New...