Freelance engagement
I need help to write a plugin that pulls in a special .xml file (weekly downloaded from AutoScout24) and transforms it into a data file which I could then output on my Jekyll site.
Please mail me as indicated on my GitHub account.
I would write a script to convert the xml to json and store it in the data folder: https://jekyllrb.com/docs/datafiles/
Thanks J.,
I’m 46 y.o. and I started study new technologies in 2014.
I don’t know how send a request to an api nor write jekyll plugins. I speak a basic english and read docs translated by Google Translator is hard.
Now…I think I could choose if:
- Send a JSON request to Autoscout Api (https://scout24.github.io/api/ ) who answer in JSON
Or
- Every time I want update the lis of cars in my website I Will download from AutoScout24 account an
.xml file and push it into website through a plugin or use a converter generator online.
In any case when and if I Will be able to obtain my file in my _data folder it won’t be easy for me extract data in order to show on my website a list of cars like this one: https://www.achillimotors.it/lista-veicoli/
Best regards
Enrico
+39 388 9005888 WhatsApp
I have upload my backup .xml file here:
https://enricocaputo.github.io/autoscout24_backup.xml
Please take a look
Something interesitng also here jekyll-get
Jekyll plugins run each time you run jekyll build
or jekyll serve
…
What you actually need is an isolated script that runs only when you tell it to run.
The script should in essence download and parse your XML file and store the resulting data as JSON (or either YAML / CSV / TSV) in your site’s _data
folder.
Jekyll then generates the HTML markup based on your Liquid templates within _layouts
and / or _includes
Thanks @ashmaroli,
I followed your advise: I used XSLT and JS.
For now I’m satisfied even if there are still some features that I would like to implement.
here is my repo: https://github.com/enricocaputo/jekyll-as24
here is the result: https://enricocaputo.github.io/jekyll-as24/
If you find time, please take a look to my repo and I would be honored if you decide help me.
Bug reports and pull requests are welcome on GitHub at https://github.com/staticpagesio/jekyll-autoscout24/.
Collaboration and contribution are welcome!