In essence what I’m trying to do is to generate a Google Toolbar button that may:
1) grab the entire URL of the contemporary website (done)
2) feed it suitable Google Gadget / Module
3) have explained Gadget check that it’s a valid feed by using Javascript
4) if you are, push URL for you to Google Reader
Today, it’s easy to grab the entire URL and push it from a Toolbar Button similar to so:
< xml version=" A SINGLE. 0" encoding=" utf-8" > < custombuttons xmlns=" http: //toolbar. the search engines. com/custombuttons/" > < button> < title> Take hold of RSS< /title> < site> http: //fusion. the search engines. com/addfeedurl=url< /site> < /button> < /custombuttons>
integrating others is the daunting part. It’d be nice if your Gadget window advised you if it turned out invalid if it wasn’t as opposed to going further, but that’s a luxury at the moment. I’d just as if it if it don’t pass bad ones into the reader, as you are able to add bad ones to it without much difficulty.
FYI, there are actually multiple Google Reader URLs you are able to append RSS supply URLs onto, but these are generally 2 examples together with differences:
http: //www. the search engines. com/reader/view/feed/http: //feeds. gearlive. com/rss_2
http: //fusion. the search engines. com/addfeedurl=http: //feeds. gearlive. com/rss_2
The best pops it directly into your reader, and the minute asks you if you would like add it for a Google Homepage, or the Google Readership.
http: //toolbar. the search engines. com/buttons/apis/howto_guide. html
Appear under " Dissimilarities Between Gadgets in addition to Buttons" for where you are able to turn a Gadget suitable Button.
Nourish AutoDiscovery
Some Gadgets I’ve produced and was messing all around with:
http: //hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test. xml
http: //hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test2. xml
Code for Button to use the test. xml track:
< xml version='1. 0' encoding='UTF-8'> < custombuttons xmlns='http: //toolbar. the search engines. com/custombuttons/'> < button> < title> test< /title> < description> < /description> < site> http: //www. the search engines. com/ig/directoryurl=http%3A%2F%2Fhosting. gmodules. com%2Fig%2Fgadgets%2Ffile%2F104977528776738091942%2Ftest. xml< /site> < tool host=" page_url" > http: //hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test. xml < /gadget> < update> http: //toolbar. the search engines. com/buttons/gadgeturl=http%3A//hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test. xml< /update> < /button> < /custombuttons>
Code for Button to use the test2. xml track:
< xml version='1. 0' encoding='UTF-8'> < custombuttons xmlns='http: //toolbar. the search engines. com/custombuttons/'> < button> < title> TEST ME< /title> < description> < /description> < site> http: //www. the search engines. com/ig/directoryurl=http%3A%2F%2Fhosting. gmodules. com%2Fig%2Fgadgets%2Ffile%2F104977528776738091942%2Ftest2. xml< /site> < tool url=" page_url" > http: //hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test2. xml < /gadget> < update> http: //toolbar. the search engines. com/buttons/gadgeturl=http%3A//hosting. gmodules. com/ig/gadgets/file/104977528776738091942/test2. xml< /update> < /button> < /custombuttons>
This code can be from Google’s subscribe because you surf comment within the Reader options. Not 100% sure what it will (been ages considering that I’ve touched Javascript, rather than did much within it), but this appears to be important (haven’t delved a lot of into it but:
‘http: //www. the search engines. com/reader/ui/subscribe-bookmarklet. js’
javascript: var%20b=document. physique; if(b& &! insurance coverage. xmlVersion) void(z=document. createElement('script')); void(z. src='http: //www. the search engines. com/reader/ui/subscribe-bookmarklet. js'); void(b. appendChild(z)); elselocation='http: //www. the search engines. com/reader/view/feed/'+encodeURIComponent(location. href)
.