Code Monkey home page Code Monkey logo

voctosched's People

Contributors

derpeter avatar epsilonhalbe avatar ischluff avatar johnjohndoe avatar martin-v avatar oe1rfc avatar saerdnaer avatar zuntrax avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

voctosched's Issues

Allow opening URLs

Quite often, input data is available via http. Extend util.read_file to detect URLs and download them automatically.

Multiple speaker per talk for CSV import

implement a way to add multiple speakers to the CSV
For tracker usage speaker IDs dont be unique this may differ for other consumers of the XML, this should kept in mind.

suggested format "1:speaker one | 2:speaker two | ..." this of course can make problems with speakers who spell their name in leadspeak

Importing from csv leads to broken XML

I'm currently exporting the data for Linux Audio Conference 2018, using voctosched to build a fahrplan.xml from a DIY csv (with the demo csv as guidance). This seems to work without issues (now), but the generated XML doesn't lint using the xsd validator.
Running the script as explained in the README, leads to:

../lac2018/files/lac2018.xml:34: element links: Schemas validity error : Element 'links': Character content other than whitespace is not allowed because the content type 
is 'element-only'.

And sure enough, in the XML I'll find

<links>None</links>
<attachments>None</attachments>

per event!

Is the import_handler for csv broken and inserts None to those nodes or am I missing something import?

Allow multiple XML flavors for output

additional fileds like the download URL which are not part of the normal frab export can confuse 3thparty apps. We should export a "frab style" and an "enhanced" xml.

Proper entry point

logging setup, argparse, configparser, selection of import and export module should be centralized.

export JSON

To be able to use all frab based tools it would be convenient to export also JSON and Ical

Add schema

We need proper schemas for validation for all flavours, see #8.

allow piping of csv/xml

It would be awesome if schedule.py could read the csv from stdin and write the xml to stdout.
One could pipe like this
wget URL | ./voctosched.py | tee STH

It would be very nice feature when using docker

import XML

Importing one or more schedule xmls to either merge them or enhance them with additional tags

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.