PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

1) For me the filtering by train type works for DB. I tested it with "Bremen Hbf" and "Hannover Hbf" as stop name. Could you please send me the stop name that didn't work? Are the icons displayed correctly for the trains that were filtered incorrectly? Hm, maybe I don't understand what you mean: "choose among the available kinds of trains" = "filter by train type"?

2) I will implement this functionality for the next version. Currently it's set to 20 departures for db.de (can be less if some departures are filtered).

3) I had this working but messed it up when I changed the plasmoid to update the departure list instead of replacing it when new data arrives, sorry. But it will work in the next version :)

Thanks for the hints! - Jun 27 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The notes are parsed and shown in the plasmoid when you doubleclick there on a row (need to doubleclick in the line-column here, not in the web page). Hope it's more clear this time :)
Parsing these notes seems a bit complex, I think there are many different notes that don't use the same "syntax".
But I need to parse these notes for the czech site also. - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

In my development version Poland is now supported with autocompletion :)
The problem with the static data isn't too big I think. I can set the "&time=actual" to get results for the current time. But it only shows the results in the current hour => if it's 13:40 you only get results from 13:40-14:00. The other problem with the static data is that it doesn't only contain journeys for today. There is a field containing additional info, e.g. "Mo - Fr, Su, not 29., 30. Jun, 14. Aug, 10. Nov; also 31. Oct". It's shown when you double click in the line column if there is additional info for the clicked journey. It's not too comfortable this way, but too hard to parse I think. - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

1. is fixed in 0.4.4, it's a bit hidden in the changelog (one of the "needed for imhd"-things I think.. I forgot that dvb.de also had a problem with encoding). The HTML-comments have also gone away.

But point 2 isn't yet fixed, thanks for the hint. It will go into 0.4.5 :) - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Great, I added a link. Thanks :) - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Done, I'm now able to use "Langen (Hessen) Bahnhof" as stop :) Works as described in the previous comment. So version 0.4.5 will contain it with autocompletion for rmv. - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The platform info is only shown where available / needed (mostly for trains / S-Bahn).

I've fixed the wrong green lamp now (for next version). To be able to use "Langen (Hessen) Bahnhof" as stop I will have to use the Stop ID, otherwise it's ambigous with "Langen (Hessen) Bahnhof Westseite"..
I will add autocompletion to rmv in the next version to get the stop IDs and use them. - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I tried it with the current version (0.4.4) and that works for me. Please try it with that version, if it doesn't work please send me the debug output when using "plasmoidviewer publictransport". Thanks - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Can you please send the stop names that doesn't work? I'm not using KHTML, only KIO for getting the HTML documents. I think it's a mistake in the regular expression that parses the document. - Jun 23 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

There's now delay- / platform- / "other journey news"-information available when using db and rmv :) - Jun 23 2009
Tasklist rotated in vertical panels

Plasma 4 Extensions by fpuelz 11 comments

Hm.. for me it builds fine, but I'm using gcc 4.3.2. As the previous commentator mentioned this problem seems to arise when using gcc 4.4 (default in kubuntu 9.04 I think). Did you try his fix? If not, try to add this line to the beginning of abstracttaskitem.cpp: "#include <X11/Xlib.h>". Hope that fixes it. If not, I could insert my changes to a new version of the default KDE tasks plasmoid.. - Jun 20 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

1. Yes I know, I haven't yet figured out how to set the color..
2.,3.,4. The header is always hidden by the scrollbars in Qt/KDE. But it will be visible if the columns fit in the available space (maybe by making the direction column smaller). I think I will resize the columns programatically so that all columns are fully visible all the time (also if the whole direction string may not be visible). With icons the Line column is big enough, yes (currently the columns are resized to fit the contents of all rows, but not headers. Maybe I should set a minimal size). When I have done that, point 1 will also be fixed because there won't be a horizontal scrollbar anymore :)

Thanks for the bug-comment :) - Jun 19 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Great :) Thanks I will add it in the next version. - Jun 19 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Sorry, I couldn't find a departure board on that site.. It seems they mostly describe in which intervals the lines are departing?
Note, that I need a site that displays a list of departures for a specific stop. Not one where I need to fill in a starting point and a target point.
Maybe barcelona works with another site, you could try db.de. - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I think the dependencies are the libs I'm linking to with cmake's target_link_libraries. Correct me if I'm wrong.. I corrected those for the next version because there were some unneccessary libraries linked.
For the data engine they are:
${KDE4_PLASMA_LIBS}, QtXml, kio.
And for the applet:
${KDE4_PLASMA_LIBS}, ${KDE4_KDEUI_LIBS}

So I think it depends on kdebase and kdelibs.
Hope that helps. Tell me if you need more information. - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Oh sorry, I corrected it.
The delay is the next thing I will add :) - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thanks :)
I just found out that I got a warning about that and changed the code to use a "default"-case in the switch. Now I also added your return outside the switch. I also thought about using the Build Service but now I don't have to :) - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

hm.. You should be able to sort by departure time by clicking on the header, for me it works. Or did you mean something else..? - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Done :) In version 0.4.2 the city field is gone for db.de. So the autocompleted stop names should just work. - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

With version 0.4.2 the confusion is gone :) For service providers that only need one input field (such as sbb.ch) the city field isn't used anymore (and not displayed). - Jun 18 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Colering is fixed again (not for the headers yet, but the contents are ok again).
I'm now using BBCode to format the description / changelog, good idea ;) - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Fixed the rawUrl, thanks :)
I omit the "Bus" or "Str" because it doesn't belong to the line name and makes it unneccessarily longer.. I will add icons for different vehicle types later.
But "BusOF-71" should become "OF-71", I need to change that.. - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thank you for updating the ebuild :) - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The applet now gets the updated data of the data engine immediately :) That problem arised when I ported to the data engine, but I found the solution now.
Parsing of the vehicle type isn't implemented for all accessors/pages/engines.. I will do that later.
And I will add an action for manually updating, you will then be able to manually update by using the context menu. - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The time is now also displayed in the title (but for now it's only accurate when the update interval is <= 60 seconds). - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

What city do you need? Please try "Deutschlandweit (db.de)" first, that should work for all cities in germany (and maybe others in europe). There is now also autocompletion for stops when using db.de. - Jun 17 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I changed the color-handling to use plasma-theme-colors, so it *should* now be readable with all plasma themes.
I will take a look at the location-dataengine, sounds interesting. I didn't know the öpnv-karte.de, looks nice, maybe it can be shown using marble (will look how they did it with the world-clock-plasmoid for that later). - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Switzerland and Berlin are added. - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Yes, except for rmv.de where I can get XML-files. Would be great to get XML-files from db.de for whole germany.. - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I added support for dvb.de. - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

You can view the complete Url used by starting the plasmoid with "plasmoidviewer publictransport" in a terminal. It shows it as a debug message.
I will implement the delay parsing and handling later.. - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The filters were "disabled".. I forgot to reimplement them when I created the data engine ;) But that works now. But not as you tried it, you need to type the whole direction, e.g. "Dolné hony - Čiližská" (with local characters here..). Should I change it so that it matches substrings?
Next, I'm trying to get the encoding of the stop names right.
Thank you for your bug reports :) It's always good to have good testers! - Jun 16 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Ah, ok ;)
Unfortunately they use asp.net.. I don't know how to get an URL which directly gets me to the departure board. All sites this plasmoid currently supports have an Url where I can put the stop name (e.g. www.url.cz?stopname=x). - Jun 15 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

The encoding is now parsed from the header of the HTML page the plasmoid downloads and is used to decode it :)
I don't know why you can't resize the plasmoid freely in popup-mode (but it was limited to 999x999, now it's 9999x9999..). I can resize it as I want. Maybe a newer plasma version helps?
The site for Czech cities doesn't seem to have departure boards? Please send links where I have to fill only ONE stop to get a departure board (I added this to the description here). - Jun 15 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Great :) I now provide the link in the download section here. - Jun 15 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I added support for it. Hope it works well. It was very similiar to db.de ;) - Jun 13 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Somewhere where I can link to from here :) So I can provide a download link to your ebuild. Which version is in the ebuild? - Jun 13 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

you need to change the "cmake-line" for the data engine to "cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .." (exactly the same as for the applet).
The problem was that the data engine was installed to /share/kde4/services but the applet to /usr/share/kde4/services.

I have changed the README of the data engine. - Jun 13 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

I already created an oxygen icon (very quickly). It's a green "H" on a yellow circle with a green border (but I think this sign is only known in germany...). However, that icon is now in the source package. - Jun 13 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Works again ;)
I missed one thing when changing the 'engines' a bit, sorry. - Jun 12 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Thank you :) I uploaded the translation to the KDE SVN. - Jun 12 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Ok, the new archive name has no blank in it. It contains two folders: dataengine and applet :) - Jun 12 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Yes I'm interested in your diff, please send it to me :) I think it will be sufficient to add the delay like this: "in 2 +3 minutes" (+3 in red). Thank you for your work! - Jun 12 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

It was a bit tricky but I found an Url where I can put the stop names in. So in the next version Bratislava will be supported! :) - Jun 11 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm.. I haven't found a way to get an Url with which I get the departure-page for a specific stop directly (with something like "?stop=xxx" at the end). They're using ASP.net, maybe I could implement a way to get the departure page by sending the stop name in an asp way.. - Jun 10 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm.. I haven't found a way to get an Url with which I get the departure-page for a specific stop directly (with something like "?stop=xxx" at the end). They're using ASP.net, maybe I could implement a way to get the departure page by sending the stop name in an asp way.. - Jun 10 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Ok, vvs.de is now supported :) - Jun 05 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

A tried to find out how to get the pot-file.. I will look at the fixed Messages.sh to find out how it's right :)
I also need to find out how to install the icon I created (something like "install(FILES icon.svgz/png DESTINATION ${KDE4_ICON_INSTALL_DIR}/oxygen/..." with cmake I think. Is a SVG sufficient?). - Jun 04 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

A tried to find out how to get the pot-file.. I will look at the fixed Messages.sh to find out how it's right :)
I also need to find out how to install the icon I created (something like "install(FILES icon.svgz/png DESTINATION ${KDE4_ICON_INSTALL_DIR}/oxygen/..." with cmake I think. Is a SVG sufficient?). - Jun 04 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

vab.de has no timetable information... Wrong link? - Jun 04 2009