Ebay doesn't let you download your buy history. This tool exports it in various formats.
The most useful being xml. However the XML is actually exported as a multivalue format,
and generic parsers do not get it right.
schema is:
<order>
<items>
<item></item>
<item></item>
</items>
<items>
...
</order>
within each <items> object there are multiple <item> objects each representing a separate transaction with the vendor of <items> object. So a multi-valued database would have no problem. However
linear xml parsing results in a mess if translating later to such as an XML or flat file.
however beats nothing as an export tool
There is a chrome plugin called "ebay purchase history report". This
is the best I have found so far. Only problem is it does not show the
tracking# of the ordered item.
https://chrome.google.com/webstore/detail/ebay-purchase-history-rep/ohoebnmmkndcieckfjblpdlfjpaeonbc
Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts
Tuesday, May 16, 2017
Monday, November 14, 2016
xfce4 background, and linux command line xml parse example
http://unix.stackexchange.com/questions/131238/where-is-the-current-wallpaper-stored
xml script example
#!/bin/bash -
# taken from
# http://unix.stackexchange.com/questions/131238/where-is-the-current-wallpaper-stored
# must install xmllint
# /usr/bin/xmllint libxml2-utils
#
# define xfce4 xml file that holds info about desktops
#
DESKTOP="/home/$(id -un)/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml"
#
# define xpath that will extract current desktop background file name
# (NB I am no expert in xpaths and there is probably a much more elegant way
# to do this but this works for me)
#
XPATH='(//property[@name="workspace0"]/property[@name="last-image"])[last()]/@value'
#
# use xmllint utility to apply xpath to file and extract file path and name
#
IMAGE=$(xmllint --xpath "string(${XPATH})" "${DESKTOP}")
#
# display the file info extracted
#
echo Current Wallpaper File = ${IMAGE}
#
# rest of script........
#
xx
Subscribe to:
Posts (Atom)