Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collaborate with other sites/apps on more input formats ? #33

Open
mmuman opened this issue Oct 19, 2017 · 6 comments
Open

Collaborate with other sites/apps on more input formats ? #33

mmuman opened this issue Oct 19, 2017 · 6 comments

Comments

@mmuman
Copy link
Contributor

mmuman commented Oct 19, 2017

Following #29 , I just found MozFest that uses yet another thing for their program, which uses some custom JSON format.

Last summer I attended a workshop at RMLL where we discussed events schedule curation for websites like radar.squat.net.
I mentioned Giggity on the notes we took.

I think we should collaborate instead of reimplementing the same parsers N times. It's probably simpler to add events to some website supporting known formats and point Giggity to it when the event website doesn't provide a suitable format.

@Wilm0r
Copy link
Owner

Wilm0r commented Nov 4, 2017

So, the recent wave of ICS-formatted submissions has me thinking about this as well. I've never really wanted [XI]CS to become a first-class citizen in Giggity because it's very poor on metadata and Giggity can only apply some heuristics to try to make it look nice.

(Honestly that problem in some ways even exists with Pentabarf - or really mostly in the way the long descriptions are written. Some schedules use HTML there, some use Markdown of some sort, but you just have to make guesses on what it is, it's not like there's a MIME-type or something - remember the days of MSIE4 rendering HTML as HTML even if the MIME-type was wrong, as a gesture of helpfulness? :-/)

Anyway, I wonder whether we'd be better off having separate code that could get some help on the heuristics (as-in we'll see how that file combined 3 different things into talk titles and supply a regex or something to pull it apart), take in more than just ICS/XCS, and emit a more digested file for Giggity to use?

Note that this thing kind of exists already in fact! https://github.com/Wilm0r/giggity/tree/master/tools/dance_valley has it, and right now it's a generator for the old Giggity-native format, though I haven't used that in ages.

The structure there is just class Schedule(GiggityObject) which you populate by doing whatever terriblesness needed to parse your input, then invoke its xml() function to serialise. And yeah, the code is messy, also most of it is 9y old. :-D

@Wilm0r
Copy link
Owner

Wilm0r commented Mar 8, 2018

https://github.com/Wilm0r/giggity/blob/master/tools/gen-xml.py is now updated to A) read iCal and B) generate Frab.

It's rather incomplete BTW, but completing it hopefully shouldn't be too much work. And then heuristics like getting speaker names may find a better place in there.

Though as I started writing it, I kinda lost motivation to really finish this as it's going to be maintenance hell - I really don't fancy the idea of "hosting" these files on behalf of conferences, dealing with updates as they make them, etc...

@mmuman
Copy link
Contributor Author

mmuman commented Mar 8, 2018

Oh, python, that I can test without Android SDK nightmare :-)
I'll try to have a look.
Yes, it'd be better to have them host their own stuff.

For LibrePlanet the code of their tool is on github, so it can probably be patched to generate something else than ICS.

@Zverik
Copy link
Contributor

Zverik commented Feb 28, 2020

Just for the note, I'm writing schedule-convert script that can convert anything to frab xml and icalendar formats and merge schedules. Already used it for 5 conferences — you can see autogenerated files at sotm.osmz.ru.

I'd prefer a single interchange format for apps, and tools for converting anything to that format. And Frab XML is de-facto that standard by now.

@Wilm0r
Copy link
Owner

Wilm0r commented Mar 20, 2023

(Digging through old bugs...)

Ooh I love schedule-convert! Maybe it could even run on AppEngine or something somewhere for auto conversions where needed. @mmuman Have you come across any of those Sessionize formatted schedules?

@mmuman
Copy link
Contributor Author

mmuman commented Mar 20, 2023

Doesn't ring a bell, but maybe I just saw it without knowing the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants