My Opera is closing 3rd of March

flymeteor's blog

面朝大海,春暖花开.

Subscribe to RSS feed

Yahoo! Weather Module

<?xml version="1.0" encoding="UTF-8"?><Module> <ModulePrefs title="Yahoo! Weather for __UP_rssname__" author="Sugree Phatanapherom" author_email="sugree@hpcnc.cpe.ku.ac.th" author_affiliation="HPCNC" author_location="Bangkok, Thailand" render_inline="optional" title_url="http://weather.yahoo.com/" directory_title="Yahoo! Weather" screenshot="http://img430.imageshack.us/img430/5924/yweather8gl.gif"/> <UserPref name="rssname" display_name="Name" required="true"/> <UserPref name="rssurl" display_name="RSS URL" required="true"/> <Content type="html"> <![CDATA[ <script type="text/javascript" src="http://xmljs.sourceforge.net/jsXMLParser/xmlw3cdom.js"></script> <script type="text/javascript" src="http://xmljs.sourceforge.net/jsXMLParser/xmlsax.js"></script>
<script> function setOutput__MODULE_ID__(content) { var output = _gel("output"+__MODULE_ID__); output.innerHTML = content; } function parseRSS__MODULE_ID__(content) { var parser = new DOMImplementation(); var doc = null; try { doc = parser.loadXML(content); } catch (e) { setOutput__MODULE_ID__("error: "+e); return; } if (doc == null) { setOutput__MODULE_ID_error: null; return; } var root = doc.getDocumentElement(); var channel = root.getElementsByTagName("channel").item(0); var item = channel.getElementsByTagName("item").item(0); var desc = item.getElementsByTagName("description").item(0); var cdata = desc.getFirstChild(); setOutput__MODULE_ID__(cdata.getData()); } function update__MODULE_ID__() { var prefs = new _IG_Prefs(__MODULE_ID__); var url = prefs.getString("rssurl"); setOutput__MODULE_ID_fetching data...; _IG_FetchContent(url,parseRSS__MODULE_ID__); } function onLoad__MODULE_ID__() { update__MODULE_ID__(); } _IG_RegisterOnloadHandler(onLoad__MODULE_ID__); </script> ]]> </Content> </Module>
February 2014
S M T W T F S
January 2014March 2014
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28