• 2 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: August 18th, 2023

help-circle
  • Yes, that why I recommand jinja. as it can be used in OpenXML as well as latex or anything in plain text.

    Let’s say you want to place a table that corresponds to a certain pattern, you could add it to your file conditionally. In your Word document, you could add that :

    {% for job in jobs %}
       {% if job.style == 1 %}
           {{ job.name }} |  {{ job.date}} | ...
       {% else %}
           - {{ job.name }}
           - {{ job.date}}
           - ...
        {% endif %}
    {% endfor %}
    

    I don’t know .NET but you can probably call a Jinja tools

    Also for the resume, you might be insterested in Rx Resume



  • It used to be integromat. You can look it up more easily, haha

    I almost succeeded with it, but to integrate multiple entries in one document, it was too complicated.

    So, I’m modifying the code I originally made to make API calls to Airtable, and I assemble the doc with docxtpl

    I started by creating an API on my already functioning flask app, so everything can be done through Airtable page. But I was worried about opening an API to the world, so I decided to make a local python app that I’ll probably compile to .exe

    And yes, I can open source, but it’s really tailored to me needs



  • Nice!

    Secretary looks exactly like Docxtemplate, which I used on my homemade webpage. Maybe it’s a fork.

    It never was really user friendly so I am looking to replace it. That is also the main issue with your self build solution? Or are there other issues as well?

    Yes exactly. I need people to be able to use the tools easily and reliably and to be able to add templates themselves.

    Also, my main job is not developing tools and I can only do it on my spare time, so the fastest it is to implement the better.

    After a week to try, Airtable + Make seems to be the easiest. Airtable also offers to generate documents directly in it, but it lacks options.

    My main issue with a lot of tool (except Docxtemplate or similar) is to renders array of data. Most solution replace a {{tag}} with an info, but what I would need is a {{array[i]}} and to be able to generate different paragraphs.







  • Thank you !

    It’s pretty much the solution I already have: I generate a doc with DocxTemplate through a webpage made with Flask.

    What I’m looking for is a solution with a user-friendly pipeline that can be easily used by anyone once it’s set up

    Form > generate new entry in a db

    Entry > Select entry from tags > generate documents from template

    Airtable is already proposing something similar, which is why I’m currently trying it with zapier, Documint, and other automation solutions

    I’m looking for a self host solution but mostly a free and polished one








  • Biorix@lemmy.worldtoMemes@lemmy.mlWhy do I hear boss music?
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    10 years should not have to watch porn. The problem is that it is often the only “sex education” they’ll have. But it’s a terrible example of sexual life.

    Sex Ed should be about pleasure, sane sex life, type of relation, etc. As well as the usual risks and disease presented, so teenagers can understand the difference between performance and reality