-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (68) .- Knowledge Base  . 

PublicTransport

   0.11 beta  

Plasmoid Binary

Score 94%
PublicTransport
zoom


PublicTransport
zoom


PublicTransport
zoom


Minimum required   KDE 4.x
Downloads:  10304
Submitted:  Jun 3 2009
Updated:  Jan 17 2013

Description:

This is a Plasma data engine, applet and runner for public transport timetable data. The applet shows a departure/arrival board for a given stop. It can also show journeys to or from the given "home stop". It displays additional information like delays, news about journeys, routes, vehicle types (with icons). Timetable data is available for trams, buses, subway, trains, ferries and planes (using flightstats.com). You can set alarms for departures and filter departures (by type of vehicle, target/origin, delay, transport line string/number, intermediate stops). Filters can also be combined.
Timetable data gets received from provider plugins. Since version 0.11 there are two types of plugins: GTFS and script providers. Script providers need a network connection and can be used to read timetable data from any document type, eg. XML, binary or HTML. GTFS providers only need to import the GTFS feed once and can then be used offline (but a network connection can be used for GTFS-realtime).

My Blog: http://fpuelz-kde.blogspot.com/
PublicTransport on UserBase: http://userbase.kde.org/Plasma/Public_Transport
PublicTransport on KDE projects: https://projects.kde.org/projects/playground/base/publictransport
PublicTransport on ohloh.net: https://www.ohloh.net/p/publicTransport

You can donate me ;)

News
17.01.2013: Version 0.11 beta released
30.12.2012: Version 0.11 alpha 2 released
04.12.2012: Version 0.11 alpha released

Installation
To install PublicTransport download a package for your distribution. If there is no such package you can ask the appropriate packagers for your distribution to create one. Please leave a comment if a new package is created or if you use a package not mentioned in the download list here, so that I can add it.
If you want to install PublicTransport, but there are no packages available for you (yet?) or you want to try the newest version with no new package yet, you can use the installer script (install.sh) included in the Sources download.
But note that software installed with that installer script isn't managed by your package manager in any way and may produce conflicts with installed packages, eg. if PublicTransport is already installed via the package manager. The script should be quite easy to use and also lets you uninstall the software again. You need GIT to use the installer, because the sources are actually downloaded using GIT by the script (from git://anongit.kde.org/publictransport).

There's also a script for packagers, that can download tarballs for all PublicTransport components for a specific version.
You can clone the GIT repository from git://anongit.kde.org/publictransport (read only), which also clones all history. From your local clone of the repository you can checkout all tagged versions (see the HINTS_FOR_PACKAGE_MAINTAINERS file).
If you want to contribute code, you need a KDE account and you can clone the repository with SSH from this URL: git@git.kde.org:publictransport (read + write). You can of course also send me patches via email.

Note: The Sources tarball does not contain the sources, but a script to download them from it's GIT repository and the translations from KDE's SVN. The script asks for the version to compile and install.

Adding a Service Provider Plugin
- Install TimetableMate, maybe not included in the packages, but in the source archive.
- The filenames start with the country code, followed by "_" and an abbreviation of the service provider, e.g. "ch_sbb" for switzerland, service provider "SBB".
- You can test your script and the URLs with TimetableMate. It also offers syntax completion with documentation and templates for the parser functions, that get called by the data engine.
- Also works for GTFS providers
- After installation of your plugin you can open the configuration dialog of the public transport applet and the new provider should be in there.
- You can also open/edit existing providers by simply clicking "Open in TimetableMate..." in the provider data dialog (accessible from the configuration dialog).
- Checkout the documentation of the data engine, it contains much information about the data sources of the engine and how to create new provider plugins.

You are welcome to optimize the scripts in the existing providers in the "serviceProviders" directory in the data engine source directory.

Comments are appreciated.




Changelog:

17.01.2013:
(version 0.11 beta)
Many crash/bug fixes, visual polishing, see http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

30.12.2012:
(version 0.11 alpha 2)
Providers are now hosted on openDesktop.org, download via GHNS, many fixes etc. See http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

04.12.2012:
(version 0.11 alpha)
Many improvements, new features, GTFS support, etc. See http://fpuelz-kde.blogspot.de/.
Update: Improved install script, automatically select latest version for installation, show available versions sorted by date, allow switching to another version when starting the script again with the repository already cloned
Update 2: Allow selecting git HEAD for installation again (the script shows Current_Development_Version for it), HEAD contains a fix for building with GTFS support but without protocol buffers installed

18.10.2011:
(version 0.10 RC2)
Applet:
- Fix link errors
- Fix memory leaks
- Fix applet collapsing to popup icon in desktop
- Drawing performance improvements
- Use of KPixmapCache for vehicle type icons
- New monochrome icons, shown in the popup icon
- Add possibility to put the applet into the notification area
- Better layout adjustments for small sizes
- Change applet tooltip according to current departure group in popup icon
- Shorter alarm names, alarm names in notifications
- Nicer alarm background
- Fix color groups and route time display for arrivals
TimetableMate:
- Fix for missing KWebKitPart include file, it now uses KWebView directly
Library:
- Fix a crash with GraphicalTimetableLine (missing null pointer check)




LicenseGPL
Source(Source)
Arch(by cmlr)
Ubuntu(deb i386 packages by takanowaka (outdated v. 0.8.3)
Ubuntu(x86_64 by Chillawowa (outdated version 0.8.3))
Gentoo(ebuild by Finswimmer)
Mandriva(x86_64 by tigger-gg, outdated, v 0.5.4)
openSUSE Factory
openSUSE Tumbleweed
Donate
Send to a friend
Subscribe
Other  Apps  from fpuelz
Report inappropriate content



goto page: prev  ... 9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24 ...

-

 Czech Prague City Transport

 
 by blazzter on: Nov 1 2009
 
Score 50%

Hello, I really like this app, but unfortunately only Prague City Transport is not showing anything. I can't see the reason because on every other Czech city is app responding OK. There is other page for Prague city transport on the same server: http://jizdnirady.idnes.cz/pid/odjezdy/
so maybe you can add it to the list
Thanks


Reply to this

-

 Re: Czech Prague City Transport

 
 by fpuelz on: Nov 3 2009
 
Score 50%

I tested it and think that I found out what's wrong there. The regular expression didn't match anything for Prague, but the parsed web site had some departures in it. So the regular expression is wrong here. I think it's because there are links to "Timetables in PDF" in the connection column of the departures web site for Prague (maybe they added that after I wrote the regexp or I didn't test Prague..). So the regexp should be less restrictive and allow more stuff in that column. I'll try to fix that later (ASAP ;)).
Thanks for reporting the bug!


Reply to this

-
.

 Re: Re: Czech Prague City Transport

 
 by fpuelz on: Nov 3 2009
 
Score 50%

Ok, fixed ;) Faster than I thought it would take.
There were another problem with the "Notes" column containing an "X" for Prague. But now it works.
I will get the next version ready soon, hopefully. There are currently some other things I need to fix in my development version.
So stay tuned ;)


Reply to this

-

 Re: Re: Re: Czech Prague City Transport

 
 by blazzter on: Nov 4 2009
 
Score 50%

thx :))))


Reply to this

-

 Re: Re: Re: Czech Prague City Transport

 
 by blazzter on: Nov 4 2009
 
Score 50%

can you post me just
<departures>
<regExp>...</regExp>
<infos>...</infos>
</departures>
lines from cz_idnes.xml which I need to just to see Prague ?
Thanks


Reply to this

-

 Re: Re: Re: Re: Czech Prague City Transport

 
 by fpuelz on: Nov 4 2009
 
Score 50%

Yes :) Here it is:

<departures>
<regExp><![CDATA[(?:<tr class="[^"]*">\s*<td class="datedt">)([0-9]{1,2})(?::)([0-9]{2})(?:</td><td>[^<]*</td><td class="[^"]*">.*</td><td class="[^"]*">.*</td><td><img src="[^"]*" alt=")([^"]*)(?:" title="[^"]*" />\s*<a href="[^"]*" title="[^\(]*\([^>]*>>\s)([^\)]*)(?:\)"[^>]*>)([^<]*)(?:</a>\s*)(?:<img [^>]*>\s*)?(?:</td>\s*</tr>)]]></regExp>
<infos> [same as before] </infos>
</departures>

Hopefully the code isn't changed by the BBCode-formatting here.


Reply to this

-

 UK National Rail

 
 by kooshster on: Nov 3 2009
 
Score 50%

Hi there,

I've been trying to put together a parser for the UK's National Rail website and am having some trouble getting it working. It's my first foray into using regular expressions so I'm not sure what's going wrong. I've tested my regular expression using this tool http://www.gskinner.com/RegExr/ and verified that the URL is pointing to the right file but all I get is an error saying "Error parsing departure information or currently no departures"

Any ideas? I can send you the work I've done so far if it'll help.


Reply to this

-

 Re: UK National Rail

 
 by fpuelz on: Nov 3 2009
 
Score 50%

Hi,
without looking at the xml-file with the regexps I can't say what's going wrong. So yes, please send it to me :)
It's very easy to get some errors into the regexps if you're new to it.
I'll try to improve the error messages, once I know where the error was.. And once I find some time for it ;)
Thanks for you're work so far! Great to have a new country/city supported (when it works, hopefully soon).


Reply to this

-

 Re: Re: UK National Rail

 
 by fpuelz on: Nov 3 2009
 
Score 50%

Ah, did the error message come from the plasmoid itself (..it's graphical representation)? Maybe it helps if you start the plasmoid with plasmoidviewer like this
> plasmoidviewer publictransport
in a terminal. You then get some more messages in the terminal, maybe something helpful.


Reply to this

-
.

 VVS (Stuttgart/Germany) search

 
 by DissCent on: Nov 5 2009
 
Score 50%

If I use the VVS service in Germany/Stuttgart, click on the search-button and insert the first letter of my word, plasma completely stops working (starts hanging - I have to restart it then).
I use KDE 4.3.1 on OpenSuSE 11.1 - any ideas what could be wrong?


Reply to this

-
.

 Rhine and Ruhr Area in Germany

 
 by soundscout1 on: Nov 6 2009
 
Score 50%

i would be happy if you could take a look at:

http://vrr.de/de/fahrplanauskunft/abfahrtsmonitor/index.html

For testing you could use Siegen, Bergstrasse, choose Geisweid-Bergstrasse in the following options and go for the R 10 lines.

I am aware, that it might be difficult to implement, because of the needed user-interaction, but i would be happy if you find a trick for that. :)

greetings and thx for the nice work ;)


Reply to this

-

 great plasmoid

 
 by markum on: Jan 3 2010
 
Score 50%

This plasmoid is really great, I have been waiting for that.
I am not very much into programming, but I have done some research for possible data providers.

A long list for many countries:
http://www.fahrplanauskunftssysteme.de/?seitenID=17
http://www.fahrplan-online.de/

Netherlands:
http://www.ns.nl/cs/Satellite/reizigers/plan-uw-reis/widget

http://www.ns.nl/actuele-vertrektijden/main.link?POST_AUTOCOMPLETE=/reisplanner-v2/autocomplete.ajax&SITESTAT_ELEMENTS=sitestatElementsActueleVertrektijden&station=Amsterdam+Centraal&remember-vertrekstation=on&avt-submit=Tonen

Denmark:
http://labs.rejseplanen.dk/data_brug/
http://www.dsb.dk/Rejseplan/bin/help.exe/dn?tpl=gadget&

Frankreich
http://www.sncf.com/de_DE/html/media/CH0004-leben-und-Alltag/BR0477-Widget-Abfahrten-und-Fahrplane/MD0105_20080522-Artikel-lesen.html

Belgien
http://www.b-rail.be/nat/F/timetables/realtime/widgets/index.php

Kingdom of Bavaria ;-)
http://www.mobilitaetsverbund.de/

Car Pooling
mitfahrgelegenheit.de
mitfahrzentrale.de
It would be nice to integrate car pooling into the widget in a way, that one can monitor requests/ offers for a certain route in a certain time. Both providers have a European wide database.


Reply to this

-

 bugs / wishes / suggestions

 
 by markum on: Jan 3 2010
 
Score 50%

It would be great, if it would be possible to report bugs/ wishes via bugs.kde.org

Until then, here a list:
- with db.com sometimes it is shown that a train has a delay for more then 24 hours, which is definitely not the case.
- It would be great, if it would be possible to ex/include by line number which departures are shown.
- It would be great, if it would be possible to monitor more than one stop at once in one view
- It would be great if there could be tabs for different stops/ providers monitored at the same time.
- If there is only one line shown, "minutes" should be replaced with the minutes-sign " ' ".
- It should be possible to adjust the collumns size
- It should be possibe to adjust the font size too.
- It would be very useful, if it would be possible not only to monitor a stop, but to search for connections and also provide this functionality to Krunner.
- It would be useful, if the widget would provide access to maps of the surroundings (via Google-Maps or Openstreetmap) or even station maps (Deutsche Bahn and may be others offer this).
- It would be useful, if the widget provided the information about a certain train (stops and when) and allow to monitor a single train and give a notification, if this train is going to be late.


Reply to this

-
.

 Re: bugs / wishes / sugg.

 
 by fpuelz on: Jan 4 2010
 
Score 50%

I dont't know if bugs.kde.org works with stuff in playground.. Probably not because playground-stuff is "meant" to have some bugs until it goes somewhere else ;) I don't know where publicTransport should go (I should ask that somewhere.. when I have some time).

But I had a look at your list and implemented some of the items:
Quote:
- with db.com sometimes it is shown that a train has a delay for more then 24 hours, which is definitely not the case.

I will look into this later.. For now a quick fix should help that disallows delays > 24 hours by subtracting 24 hours. I think that bug arises when it's around 0 o'clock. It's sometimes a bit hard to get the right times together from the HTML pages of the providers.

Quote:
- It would be great, if it would be possible to ex/include by line number which departures are shown.

That's now implemented :) Including new settings dialog layout, new popup menu items and layout, ...

Quote:
- It would be great, if it would be possible to monitor more than one stop at once in one view

That's a bit problematic currently because there's some bug with the data engine that causes problems when there is more than one viewer of the data (departures being displayed two times or in the wrong view..). When that's fixed I will start thinking about that again ;)

Quote:
- It would be great if there could be tabs for different stops/ providers monitored at the same time.

Hm.. isn't this the same as the previous one?

Quote:
- If there is only one line shown, "minutes" should be replaced with the minutes-sign " ' ".

I'm not sure if everyone would understand that sign (in every country). I could make it manually configurable through the config files. I think this would be a 'micro'-setting which I don't want to add to the config dialog. The info can also show "XX hour(s)", hm.. is there a sign for hours? Maybe the best option would be to automatically replace "minute"/"hour" with "min."/"h.", when the column is smaller than some value.

Quote:
- It should be possible to adjust the collumns size

That's already possible, you just need to show the header (through the popup menu).

Quote:
- It should be possibe to adjust the font size too.

The font size is somehow adjustable through KDE's global font size settings. I would say that's enough.. Do you have a use case for that? Maybe an option to display everything "very big" would eliminate the need for that option. "Very big", to use the applet as some big display panel.

Quote:
- It would be very useful, if it would be possible not only to monitor a stop, but to search for connections and also provide this functionality to Krunner.

You can already search for connections (journeys) from the "home" stop by clicking the icon on the top left of the applet. I added an entry to the popup menu for the next version to make that feature more visible. The feature is still a bit limited, you can only view the next few departures to other stops. I should add a time selection. Providing the functionality to KRunner is a great idea!

Quote:
- It would be useful, if the widget would provide access to maps of the surroundings (via Google-Maps or Openstreetmap) or even station maps (Deutsche Bahn and may be others offer this).

That's somewhat more complicated, than I currently have time. Maybe later..

Quote:
- It would be useful, if the widget provided the information about a certain train (stops and when) and allow to monitor a single train and give a notification, if this train is going to be late.

The monitoring could be integrated with the alarm feature (notify when the delay of a departure with an alarm changes). To get the stops of a train will need some more regexp-magic and of course the data must be provided by the HTML-pages. But that would indeed be useful :)

Thanks for those ideas / wishes! Very nice. I will upload an updated version of the applet soon.


Reply to this

-

 Re: Re: bugs / wishes / sugg.

 
 by markum on: Jan 6 2010
 
Score 50%

Quote:

I dont't know if bugs.kde.org works with stuff in playground..

I think this depends if you want yourself added to bugs.kde.org. Appart from that I think public transport is already very usable. I installed it via a sidux repository. If not in bugs.kde.org, you should add some contact possiblity for those who do not know about this being published here. I think the basic functionality, appart from Knewstuff-integration, is there. So it would be really worthy to release, so that others can give feedback or even contribute.
Quote:

- It would be great if there could be tabs for different stops/ providers monitored at the same time.
Quote:

Hm.. isn't this the same as the previous one?

No, the first one is meant for the usecase that you want to monitor say 2-3 stop which are around the corner and just show them in one view. The other one would be useful for stops who are further appart and should not appear in one view, but easily accessible.
Quote:

- If there is only one line shown, "minutes" should be replaced with the minutes-sign " ' ".
Quote:

I'm not sure if everyone would understand that sign (in every country). I could make it manually configurable through the config files. I think this would be a 'micro'-setting which I don't want to add to the config dialog. The info can also show "XX hour(s)", hm.. is there a sign for hours? Maybe the best option would be to automatically replace "minute"/"hour" with "min."/"h.", when the column is smaller than some value.
may be this is something which should be configurable centrally in Systemsettings-Localisation-Time?

Quote:
[quote]
- It should be possibe to adjust the font size too.
[quote]
The font size is somehow adjustable through KDE's global font size settings. I would say that's enough.. Do you have a use case for that? Maybe an option to display everything "very big" would eliminate the need for that option. "Very big", to use the applet as some big display panel.

Usecase: There are so many different Plasmoids out there now. The information there is more or less important. I like the possiblity to adjust plasmoids individually.

Quote:

Providing the functionality to KRunner is a great idea!

There is allready a competing plasmoid providing this http://www.kde-look.org/content/show.php/Transport?content=117804 , but I would prefer both functionalities integrated in one. I would also prefer a more detailed search, using via stations, selecting the different types of trains and so on.

[Maps]
Quote:
That's somewhat more complicated, than I currently have time. Maybe later..

I understand. If can not program, but if there is any research needed, if may be able to help.

Thanks for all your answers. Meanwhile I discovered another bug: When you set the maxium departures shown, the plasmoid seems to count the departures which are filtered too, so that there are not so many departures shown.


Reply to this

-

 Re: Re: Re: bugs / wishes / sugg.

 
 by fpuelz on: Jan 6 2010
 
Score 50%

The bug you discovered comes from the filter method. It's because the maximum number of departures is sent with the request to the provider, while the filter is applied afterwards.. The applet sends a higher number of maximum departures to get enough departures, but sometimes the provider has a "maximum number for the maximum number of departures".. A solution would be to include the filter into the request where possible (I think that would be easier with JavaScript based services like vavrusa is using).

I wrote a comment to vavrusa's plasmoid page. Maybe his fetching algorithm can go into the publictransport data engine (would be great :)). And his plasmoid could co-exist as it's somewhat different, but using that same data engine. Thanks for telling me about his plasmoid, haven't found it until now ;)


Reply to this

-
.

 Re: bugs / wishes / suggestions

 
 by fpuelz on: Jan 6 2010
 
Score 50%

I now implemented a new option to set the size for the whole applet (font sizes, icon sizes..). It doesn't allow to set a font size directly, but it's a size factor that increases / decreases font sizes.
It's coming in the next version as a slider in the appearance config page.


Reply to this

goto page: prev  ... 9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24 ...

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.