Active Topics

 



Notices


Reply
Thread Tools
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1
Customize Queen BeeCon Widget (>=v0.1.4) to display:
Today Schedules for TVRage.com Favourites TV Serials

The Beecon will also provide a small miniature if your most favourite Show is aired on the day.
For this example we will assume our favourite TV Show is "House"



TVRage is the most awesome site for TV Shows related material and personal customization I ever dealt with.



Prerequisite is the creation of an account on the site:


Once you're registered proceed to the My Shows URL and you'll be able to populate your TV Shows portfolio with your choices.


Once finished, proceed to the TV Schedule RSS Feed and find out (take note of the URL) the feed for your today's shows:

You will need this URL to modify the Beecon command after importing the Beecon Instance Data (so you'll fetch YOUR favourite Shows - and NOT MINE!!!! )

Now get ready for the Beecon Import!

Preparation Steps:
  1. Download and Install Queen Beecon Widget (>=v0.1.4) (Warning! It's still in extras-devel; if you like it, I need your support for testing and promoting to Testing and Extras)

  2. Save icons/images attached to the post (or Download and extract zip file attached to the thread for your convenience) and store images in the specified N900 directory, create it if not existing. (Warning: inside the zip file there could be images with numbers appended to common graphic filenames extensions - ex. football-icon.png.3 - this is NOT an error!) - Do NOT save the following images as their filename will not be correct!




  3. Just drop them HERE:


  4. Make sure you copy the following Exported Instance Data to your phone's clipboard. (Do not modify anything as it is checksum protected and modifications will invalidate checksum!)
    See HERE for tutorial
    Code:
    [queen-beecon-header]
    version=1,000000
    checksum=1899158
    [queen-beecon-exported-instance]
    widgetType=0
    operationalStatus=0
    hideCanvas=true
    snippetBgRGB=0
    beecon_lt0_ImgZoom=0
    beecon_lt0_BgRGB=2
    beecon_lt0_ImgFilename=queen-beecon-syserr.png
    beecon_eq0_ImgZoom=0
    beecon_eq0_BgRGB=3
    beecon_eq0_ImgFilename=house.png
    beecon_eq1_ImgZoom=0
    beecon_eq1_BgRGB=4
    beecon_eq1_ImgFilename=queen-beecon-appwrn.png
    beecon_ge2_ImgZoom=0
    beecon_ge2_BgRGB=5
    beecon_ge2_ImgFilename=queen-beecon-apperr.png
    beecon_idxge2_ImgZoom=0
    beecon_idxge2_BgRGB=11
    beecon_idxge2_ImgFilename=queen-beecon-index.png
    widWidth=280
    widHeight=205
    instanceTitle=Tvrage
    instanceCmd=echo -e "<b><span foreground=\\"yellow\\" font=\\"15\\">                            `date +%m/%d`</span></b><span size=\\"x-small\\">\\n </span>" ; wget -t 1 -T 10 -q -O - "http://www.tvrage.com/myrss.php?tid=8891&hash=10101011001010010011010" | awk 'BEGIN {FS="[<>]";f="- House";r=1;}$3=="TVrage" {next;}$2=="title" {print "<b><span foreground=\\"red\\"><big>" $3 "</big></span></b>";if(index($3,f)==1)r=0;next;}$2=="description" {print "  " $3;next;}$3=="item" {print $5;next;}END {exit r}'
    cmdImgFilename=tvrage_bg.png
    cmdImgZoom=1
    cmdFgRGB=1
    cmdVisibilityPosition=0
    cmdImgVisibilityPosition=5
    cmdJustify=0
    cmdFontName=3
    cmdFontSize=12
    resImgFilename=queen-beecon-resimg.png
    resImgZoom=0
    resFgRGB=1
    resVisibilityPosition=1
    resImgVisibilityPosition=3
    resJustify=0
    resFontName=2
    resFontSize=12
    updOnStartup=false
    updOnClick=true
    updOnDesktop=false
    delayIndex=0
    updNeworkPolicy=0
  5. Proceed with the import of the "Exported Instance Data" according to the following instructions:
    Import Procedure for Beecon Exported Instance Data

After import is successfully finished, there are still some more things you need to do: Let's customize your own RSS feed source and change your most favourite Show!!!
  1. Let's start the Main Settings Dialog Box Again and click on the "Edit Cmd" button


  2. Let's scroll the command code until you find the following string:

    Code:
    ... http://www.tvrage.com/myrss.php?tid=8891&hash=10101011001010010011010 ...
  3. And replace it with the personal RSS feed you discovered before. Watch out not to miss the " (double quotes) both before and after the URL

  4. Let's scroll the command code until you find the following string:

    Code:
    ... f="- House" ...
  5. And replace it with your favourite Show name ( ex. "- Supernatural"; "- " before Show name is important and must exist). Watch out not to miss the " (double quotes) both before and after the Show

  6. Save changed command with relevant button

  7. You now want to change the miniature for your favourite show: just create/download your own, size it at your will, give it a new name (ex. "supernatural.png") & drop it into specified directory for images

  8. Find then the following setting and change it according to your new image name (ex. "supernatural.png")


  9. If you have many more TV Shows you'll maybe would like to also change the background of the Beecon with a bigger one or resize the Beecon and set the current background image to scale accordingly

  10. Adjust as usual your Update Policies and Intervals and "Save and Run" your new Beecon

Have Fun!!!

Data is made available on the internet and is freely accessible also through a normal browser by pointing to www.tvrage.com or via RSS Feeds. 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.
Attached Images
  
__________________
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
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:37.