| The Following 4 Users Say Thank You to No!No!No!Yes! For This Useful Post: | ||
|
|
2010-04-21
, 07:21
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#2
|
|
|
2010-05-22
, 23:25
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#3
|

|
|
2010-05-23
, 09:13
|
|
Posts: 76 |
Thanked: 4 times |
Joined on Apr 2010
|
#4
|
|
|
2010-05-23
, 17:51
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#5
|


|
|
2010-05-23
, 18:43
|
|
Posts: 76 |
Thanked: 4 times |
Joined on Apr 2010
|
#6
|
|
|
2010-05-23
, 18:55
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#7
|
That's MUCH better - many thanks. One residual issue I can see (maybe something I need to change) - the time left reads the time as 12:01 and doesn't change (although the time left does)
|
|
2010-05-23
, 22:02
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#9
|
|
|
2010-07-10
, 18:35
|
|
Posts: 76 |
Thanked: 4 times |
Joined on Apr 2010
|
#10
|

Ebay Item Watcher (Updated and Tested on 11 Aug 2010)
The Beecon will watch an item that you specify and will provide a small Photo, Item Number, Current Bid or Buy It Now Price, Time Left for bidding, Bid Count, High Bidder and Quantity.
Ready?!
Preparation Steps:
No Images Needed unless you want a custom background
See HERE for tutorial
[queen-beecon-header] version=1,000000 checksum=5864742 [queen-beecon-exported-instance] widgetType=1 widgetVisible=1 operationalStatus=0 hideCanvas=false snippetBgRGB=0 snippetExtBgRGB=#000000000000 beecon_lt0_ImgZoom=0 beecon_lt0_BgRGB=2 beecon_lt0_ExtBgRGB=#808080808080 beecon_lt0_ImgFilename=queen-beecon-syserr.png beecon_eq0_ImgZoom=0 beecon_eq0_BgRGB=3 beecon_eq0_ExtBgRGB=#0000ffff0000 beecon_eq0_ImgFilename=queen-beecon-appok.png beecon_eq1_ImgZoom=0 beecon_eq1_BgRGB=4 beecon_eq1_ExtBgRGB=#ffffffff0000 beecon_eq1_ImgFilename=queen-beecon-appwrn.png beecon_ge2_ImgZoom=0 beecon_ge2_BgRGB=5 beecon_ge2_ExtBgRGB=#ffff00000000 beecon_ge2_ImgFilename=queen-beecon-apperr.png beecon_idxge2_ImgZoom=0 beecon_idxge2_BgRGB=11 beecon_idxge2_ExtBgRGB=#0000ffffffff beecon_idxge2_ImgFilename=queen-beecon-index.png widWidth=510 widHeight=175 instanceTitle=Ebay Object Watch instanceCmd=export id="120606773096"; wget -t 1 -T 10 -q -U "CERN-LineMode/2.15" -O - "http://m.ebay.com/Pages/ViewItem.aspx?aid=$id" | awk -v j="/tmp/qbwebay0.jpg" -v l="/tmp/qbwebay0.log" ' BEGIN { FS="" } { x=split($0,m,"(<img src=\\")|(\\" alt=\\"\\"><\\/td>)"); sub(/width=[0-9]+/,"width=130",m[4]); r=system("wget --user-agent=\\"\\" -q -o \\"" l "\\" -t 1 -T 10 -O \\"" j "\\" \\"http://m.ebay.com/Pages/" m[4] "\\""); x=split($0,m,"(<strong>)|(<\\/strong>)"); print "<span foreground=\\"green\\">" m[2] "</span>"; x=split($0,m,"(<span style=[^>]*important;[^>]*\\">)|(<\\/span>)"); p=0; do { gsub(/<[^>]*>+/,"",m[i]); if(p==0||m[i]==" "||m[i]==" "){ if(m[i]=="Item number:"){ p=1; printf"<span foreground=\\"white\\">" m[i] "</span>"; } i++;continue; } if (index(m[i],":")==length(m[i])) l="\\n<span foreground=\\"cyan\\">"; else l=" <span foreground=\\"red\\">"; printf "%s%s</span>",l,m[i]; i++; } while (m[i-3]!="Quantity:"); print ""; return r; }'|fold -s -w 60 rememberMe= cmdImgFilename=queen-beecon.png cmdImgZoom=0 cmdFgRGB=1 cmdExtFgRGB=#ffffffffffff cmdTextAngle=0 cmdVisibilityPosition=0 cmdImgVisibilityPosition=0 cmdJustify=0 cmdExtFont=Nokia Sans bold italic 16 cmdFontName=3 cmdFontSize=16 resImgFilename=/tmp/qbwebay0.jpg resImgZoom=0 resFgRGB=1 resExtFgRGB=#000000000000 resTextAngle=0 resVisibilityPosition=1 resImgVisibilityPosition=9 resJustify=0 resExtFont=Nokia Sans bold 14 resFontName=2 resFontSize=14 progressAnimationFrames=4 progressAnimationTimer=4 progressAnimationPos=4 progressAnimationBasename=queen-beecon-progress updOnStartup=false updOnClick=true updOnDesktop=false updOnSight=false delayIndex=0 customIntervalSecs=0 updNeworkPolicy=1 updOnDBUS=0 updOnDBUSBus=0 updOnDBUSMatchRule=Import Procedure for Beecon Exported Instance Data
And Here we Are!!!
To change the Item Number with one of your choice proceed as follows:
... export id="130384074106"; ...
WARNING!!! If you want to use more then one Widget at the same time you need to tweak the Beecon a little bit to make it Multi-Instance:
... -v j="/tmp/qbwebay0.jpg" -v l="/tmp/qbwebay0.log" ...
... -v j="/tmp/qbwebay1.jpg" -v l="/tmp/qbwebay1.log" ...
Have Fun!!!
Data is made available on the internet and is freely accessible also through a normal browser by pointing to m.ebay.com. Credits go to the cited Companies, Organizations, Product, Services. Please report if any contents is neither appropriate nor allowed to be published and it will be removed within short time span.
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
Last edited by No!No!No!Yes!; 2010-08-11 at 19:40.