Git Product home page Git Product logo

Comments (10)

mhrz avatar mhrz commented on July 30, 2024

I already do it automatically in InDesign, via the CSV export of the participants (see 'export_all' etc.) :)

from ipt_connect.

nickkolok avatar nickkolok commented on July 30, 2024

@mhrz, thank you for your advice, but, firstly, InDesign is not a open source software, and, secondly, it doesn't provide the desired extent of automatization =/

from ipt_connect.

mhrz avatar mhrz commented on July 30, 2024

I guess it depends on each LOC, but for IPT 2016 and IPT 2017 it did the job :) I don't understand what you mean by "it doesn't provide the desired extent of automatization". Could you please explicit? InDesign provides the ability to input a csv file and fill a set of document with the infos. Basically, I generate all the diplomas with a single click in InDesign. Is it not what you mean?

But why not adding the functionnality in IPT Connect and let the LOC decides what they wish to do?

from ipt_connect.

nickkolok avatar nickkolok commented on July 30, 2024

@mhrz, first of all, you should:
a) have a PC with InDesign installed
b) export a .csv file (is there a GUI or it should be done from console, i.e. from the server on which the ipt_connect runs?)
c) do that "magic" one click.

Moreover, for example, in Russian language verbs in past tense differ for genus. For example, in English:
Teresa participated in the Tournament. (for a girl)
Simon participated in the Tournament. (for a boy)

The name are the only difference between two sentences.
But in Russia we have a trap!

Тереза приняла участие в турнире (for a girl)
Саймон принял участие в турнире (for a boy)

I don't know whether there are the same issues in French or not, but at least in Ukranian they should occur =/
To overcome this, you need to export two different csv files using a filter. So, it would be useful to have a GUI with a filter (which is adjusted in advance!) and several templates for the diploma.

The 'desired extent of automatiation' is:
a) setting all the preferences in advance
b) when the results are ready, pressing a Big Red Button A-A-A-A-A-A-A-A MAKE ME THE DIPLOMAS IMMEDIATELY!!!1

from ipt_connect.

mhrz avatar mhrz commented on July 30, 2024

Sure, do it if you want and the LOC will decide what's better. I think there are more important priorities to work on right now since we make the diplomas with success and easily every year for the moment, but feel free to do it if you wish :) Just note the csv export is done in real time by just accessing the URLs/views "export_all", "export_participants", etc. (or smth like that, I don't remember exactly how I named it).

from ipt_connect.

vbonvin avatar vbonvin commented on July 30, 2024

Templates will vary from year to year, and from tournament to tournament so I don't really see the point of having templates already in the software. What can be useful though is a more flexible export function that gives the gender, rank, team, number of points, etc... that you post-process with an external design tool.

Anyway @nickkolok, feel free to experiment !

from ipt_connect.

Sebastian-Fava avatar Sebastian-Fava commented on July 30, 2024

Again not a strong opinion on this. This being said I see no harm in implementing this feature (except for the time that requires doing so), and the LOC can decides afterwards if use it or not, as Maxime and Vivien suggest.

from ipt_connect.

david2457 avatar david2457 commented on July 30, 2024

As Sebastian's comment.
As mentioned above, the design changes on year, so probably want the blanket text to be output and then LOC can edit the remaining design.

from ipt_connect.

nickkolok avatar nickkolok commented on July 30, 2024

@vbonvin, @david2457, the main page changes on year too. Should we throw it away from the repo?
@mhrz, thank ypu for info about csv export. It could be useful.

However, I suggest to implement the following mechanism for participants' certificates.

There are three files:

  1. heading.fodt (you may use other names/extensions and you probably should).
  2. trailer.fodt
  3. participant.fodt

When export of the certificates is requested, then:

  1. heading.fodt is taken as an initial string.
  2. participant.fodt is executed as a django template with participant parameter and concatenated to the current string.
  3. trailer.fodt is concatenated to the result.
  4. The result is dowloaded by the user.

I mean that participant.fodt an contain smth like this:

{% if participant.gender == 'male' %}
    schoolboy
{% else %}
    schoolgirl
{% endif %}

@ijustbsd, does it sound sane?

from ipt_connect.

nickkolok avatar nickkolok commented on July 30, 2024

Some progress can be found here if needed:
https://github.com/nickkolok/ipt_connect/commits/vrn-hotfix-1-reordered

from ipt_connect.

Related Issues (20)

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.