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).

You can donate me ;)

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 clonedUpdate 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

just a thought

i don't know if it's possible but imho the best way for sharing accessor info xmls would be posting in some category on kde-look (same way amarok scripts are posted on kde-apps).. this way only original author would be able to update accessors and there would be separate place for comments/bug reports for each accessor

just a thought

i don't know if it's possible but imho the best way for sharing accessor info xmls would be posting in some category (dataengines for example) on kde-look (same way amarok scripts are posted on kde-apps).. this way only original author would be able to update accessors and there would be separate place for comments/bug reports for each accessor

read README and/or INSTALL before anything from the following

when some package is missing search for it with Aptitude: aptitude search "Package Name"
when some file is missing search for it with Apt-File: sudo apt-get install apt-file; and search for missing file: apt-file search "File Name"

most of the time only kdebase-workspace-dev and/or kdelibs5-dev are needed

[Request]Add realtime search

Add a possibility for entering an other location at the plasmoid itself. Something like the searchbar in dolphin or amarok. Changing an location is often neccessary in bigger cities because differnten services have different stops.

flightstats.com

hi.. i'm trying flightstats and i see that no icon is shown correctly.. for example on "Ivanka Airport"http://img136.imageshack.us/img136/5452/snapshot05.png
and i wasn't able to add any washington airport.. i don't really know any airport in washington though ;) but none of the possibilities from autocompletion works..
the last thing is shouldn't be Airport name shown in top-left corner like with other accessors?

Re: flightstats.com

don't know if it's possible but maybe icon parsing should be done for each page separately (defined in accessor info xml)
because i found out that imhd.sk doesn't show trolley buses' icons correctly too.. you can check it on bus stop "Hlavna Stanica" if you want..

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.

Copyright 2001-2015 KDE-Look.org Team All rights reserved. KDE-Look.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.