Sponsored Content
Full Discussion: KDE widget creation
Special Forums UNIX Desktop Questions & Answers KDE widget creation Post 302751567 by jcdole on Friday 4th of January 2013 06:39:53 AM
Old 01-04-2013
KDE widget creation

Hello.
Best wishes for everybody.

I would like to put a widget on my kde desktop.

I want to show a list of town in a dropdownlistbox.
Then when I click on one town I want to start the internet explorer with a html file argument ( for every town there is a html file )
Or better :
In the widget include a small embeded html page which would be fed by the page content of the html file content.

Example :
Town : alkiza
Filename : /local/meteo/alkiza.html
File content :
Code:
<script type='text/javascript' src='http://www.aemet.es/es/eltiempo/prediccion/municipios/launchwidget/alkiza-id20006?w=g4p01110001ohmffffffw600z190x4f86d9t95b6e9'></script><noscript><a target='_blank' style='font-weight: bold;font-size: 1.20em;' href='http://www.aemet.es/es/eltiempo/prediccion/municipios/alkiza-id20006'>El Tiempo. Consulte la predicción de la AEMET para Alkiza</a></noscript>

This could be done perhaps with an app generator ?
But I don't know which ones exist under linux.

Help would be appreciated.
 

3 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Kde 3.0

Hello, i,ve installed suse with kde 3.0, I had never used an X for unix before. So I don't know much. Most things were easy to find, but what anoyes me a lot is that the desktop is larger than mij monitor, so I have to move my mouse to see the rest of the desktop. I've tried to set the... (1 Reply)
Discussion started by: counTnegaTive
1 Replies

2. Android

problem to remove widget

Hi, I am using an htc wildfire with android 2.2, I have recently download a battery widget. After I decided to remove it, I saw black box that say problem in loading. How can I tell the android to stop trying to load it? ---------- Post updated at 11:10 AM ---------- Previous update was... (0 Replies)
Discussion started by: programAngel
0 Replies

3. Web Development

Fix For Google Page Rank: Wordpress List Rank Dashboard Widget

Here is the fix for the recent Google changes to their pagerank API. For example, in the List Rank Dashboard Widget Wordpress Plugin (Version 1.7), in this plugin file: list-rank-dashboard-widget/wp-list-rank-class.php in this function: function getGooglePR($url) Change this line: ... (0 Replies)
Discussion started by: Neo
0 Replies
HTML::AutoPagerize(3pm) 				User Contributed Perl Documentation				   HTML::AutoPagerize(3pm)

NAME
HTML::AutoPagerize - Utility to load AutoPagerize SITEINFO stuff SYNOPSIS
use HTML::AutoPagerize; my $autopager = HTML::AutoPagerize->new; $autopager->add_site( url => 'http://.+.tumblr.com/', nextLink => '//div[@id="content" or @id="container"]/div[last()]/a[last()]', pageElement => '//div[@id="content" or @id="container"]/div[@class!="footer" or @class!="navigation"]', ); my $uri = 'http://otsune.tumblr.com/'; my $html = LWP::Simple::get($uri); my $res = $autopager->handle($uri, $html); if ($res) { my $next_link = $res->{next_link}; # URI object my $content = $res->{page_element}; # XML::XPathEngine::NodeSet object. may be empty } DESCRIPTION
HTML::AutoPagerize is an utility module to load SITEINFO defined in AutoPagerize. AutoPagerize is an userscript to automatically figure out the "next link" of the current page, then fetch the content and insert the content by extracting the "page element". AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net> LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
WWW::Mechanize::AutoPager, <http://swdyh.infogami.com/autopagerize> perl v5.12.4 2011-09-26 HTML::AutoPagerize(3pm)
All times are GMT -4. The time now is 11:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy