**** BEGIN LOGGING AT Fri Feb 24 03:00:00 2017 Feb 24 07:01:28 looks like libcurl will work for what I need Feb 24 07:10:09 jonwil: :nod: Feb 24 07:10:22 this is what FB plugin and co use Feb 24 07:11:31 jonwil: or, you can RE feedservice2 and use network_utils_XXX functions :) Feb 24 07:12:11 jonwil: see https://github.com/community-ssu/feedservice-plugin-fb-common/blob/master/src/common/facebookcommon.c#L348 Feb 24 07:13:33 feedservice2 looks like its tied to glib Feb 24 07:13:46 so? Feb 24 07:13:46 which I want to avoid since I will probably end up writing the UI for this thing (when I get to it) in QT Feb 24 07:13:55 curl works Feb 24 07:13:58 so I am going with that Feb 24 07:13:58 QT is tied to glib as well Feb 24 07:19:40 also feedservice isn't installed to the device by default but libcurl is :) Feb 24 07:20:13 I dont have feedservice on my device at all Feb 24 09:28:32 hmmm, now I need something that can parse JSON data... Feb 24 10:22:22 jonwil in which context? Feb 24 10:26:39 I have a char * buffer that contains JSON data and I want to parse that and then manipulate the results. Feb 24 10:34:23 jonwil: Sry. Can't help you there. Feb 24 11:37:40 jonwil: for the transit application? Feb 24 11:37:51 yeah Feb 24 11:45:52 Turns out the official journey planning web page is powered by JSON (and JavaScript on the client). Managed to figure out the right URL and the right set of fields to include in the POST data meaning I get parseable JSON I can fiddle with and use Feb 24 11:46:53 is this AUS-specific, or when your program is live, we can all use it? :) Feb 24 11:47:04 This is specific to my transit operator Feb 24 11:47:26 The web page itself is 100% usable on the N900 (probably all that JavaScript, hence the desire to write an app Feb 24 11:48:29 jonwil: webscraping can be unreliable, unless they use their own api Feb 24 11:48:47 webscraping content can be unreliable Feb 24 11:49:19 but webscraping JSON data should be more reliable as its less likely to change just because of a web page design change. Feb 24 11:49:42 worst that happens is that I find the form inputs it wants or the JSON data it emits have changed and I fix my app :) Feb 24 11:54:25 worst that can happen is you moving out to different country and app losing mintainer ;) Feb 24 11:54:42 I cant see myself changing cities anytime soon Feb 24 11:54:45 or obfuscating js Feb 24 11:54:53 that's the worst Feb 24 11:55:04 The JS being obfuscated doesn't matter since I dont need to worry about the JS Feb 24 11:55:08 with sessions, hashes, secrets etc Feb 24 11:55:33 by js i mean that post fields would be generated to avoid unauthorized uses Feb 24 11:56:00 I feed inputs into the form and use the Mozilla Web Console to see what the variables passed as POST are and I see what the returned JSON is and go from there Feb 24 11:56:09 As for obfuscation, this is a government web site Feb 24 11:57:08 and its not the sort of agency that would intentionally obfuscate things just to stop people using it (they do use the usual shrink tools that remove all white space, give identifiers the shortest possible made-up names etc to reduce bandwidth use but nothing beyond that) Feb 24 11:57:53 They provide all sorts of open data (including GTFS and GTFS-RT feeds) Feb 24 11:58:31 jonwil: did you ever look into Fahrplan app? Feb 24 11:59:03 I don't know if it uses JSON but it has whole the framework needed, otherwise Feb 24 11:59:22 and still works great for me, here in Germany Feb 24 11:59:34 after a tiny patch a year or two ago Feb 24 12:00:07 Where can I get this Fahrplan thing from? Feb 24 12:00:29 you could even just extend the app, since in app config there's a dropdown select for backend/farend/whatever Feb 24 12:00:40 repo? Feb 24 12:01:10 http://maemo.org/packages/view/fahrplan/ Feb 24 12:05:53 Oooh, that might be interesting Feb 24 13:23:50 how does hildon-desktop handle rotation? Feb 24 13:25:14 does Xorg screen get actually rotated or it's faked in some way? Feb 24 14:30:22 haha Sigyn quit message Feb 24 15:15:11 Sicelo: ? Feb 24 15:16:05 Sicelo: could you cite please? I got "hide join/nick/part" Feb 24 16:21:12 DocScrutinizer05: Feb 24 16:21:13 14:50:03 -!- Sigyn [sigyn@freenode/utility-bot/sigyn] has quit [Quit: Can we drop the ‘artificial intelligence’? It’s a bit like me calling you a meat-based processing system.] Feb 24 16:21:17 yw ;) Feb 24 16:22:05 hehehe Feb 24 16:30:13 NotKit: iirc it is rotadet via clutter Feb 24 16:30:20 *rotated Feb 24 17:36:56 quit Feb 24 17:37:00 exit Feb 24 22:24:47 DocScrutiizer05, thanks for pointing me at Fahrplan, I installed it on my device and the featureset/UI is exactly what I need. Looking at the source code, I can see that writing a backend for it should be possible as well. Feb 24 23:49:16 Anyone here know anything about creating debian packaging? **** ENDING LOGGING AT Sat Feb 25 03:00:01 2017