website content

I am trying to to create my first sidebar gadget what i would like it to do is grab certain content from a html page and dispaly it in the sidebar and be able to refresh every 5 minutes is this possible

I have gotten as far as getting the Gadget to recognize as a gadget

created a Logo
Made a XML file as shown below what i need help with is the html file to shadow the web content that i desire

< xml version="1.0" encoding="utf-8" >
<
gadget>
<
name>my gadget name here</name>
<
namespace>my URL here</namespace>
<
version>1.0.0</version>
<
author name="my name here">
<
info url="my Url.com here" />
<
logo src="RPLogo.PNG" />
</
author>
<
copyright>&#169; 2007</copyright>
<
description></description>
<
icons>
<
icon height="75" width="75" src="RPLogo.PNG" />
</
icons>
<
hosts>
<
host name="sidebar">
<
base type="HTML" apiVersion="1.0.0" src="temp.html" />
<
permissions>Full</permissions>
<
platform minPlatformVersion="1.0" />
</
host>
</
hosts>
</
gadget>



Answer this question

website content

  • Rohit Tela

    Yes it is possible to grab content from a page. See this thread on how to read the page. And this thread on how to use setInterval to refresh the Gadget.

  • redviking2006

    =) Try something a bit easier as a first gadget. Just put "Hi" or something. Get it onto your sidebar then continue working on it. Add a picture, change text colors, put a backround, you know. Then, try the harder stuff ;-)

    Search for EirianNorre in the gallery and you'll see my first (and only) gadget. Use my source files as a template.

    Good luck!


  • Batikit

    Isn't it possible to use iframe somehow to only include the content i would like
  • website content