Closed olea closed 5 years ago
Hi, thanks for your report!
The tr
function sanitizes the value of the field used to generated the filename for the record being processed.
There are two possible explanations for the error you are experiencing:
name
field in _config.yml
)Having said that, the plugin might be a bit more informative about what is going on. Added to the todo list!
Let me know if it fixes your issue!
I have pushed a new version which complains about the records which would cause tr
to fail.
Give it a try, it might be simpler than checking the data files by hand.
Thanks!
It's amazing!
BTW: how do you generate the name of each file? Seems you are not using neither slugify or url_encoder, so it would be needed to add code to for correct cross references :-m
BTW: how do you generate the name of each file? Seems you are not using neither slugify or url_encoder, so it would be needed to add code to for correct cross references :-m
I've learned the plugin provides datapage_url to get this info. I would suggest to use slugify for creation of the file names giving more flexibility for developers.
Again, thankyou very much. I'm advancing in my development. Definitively this plugin deserves to be published as a gem!
Hi:
First all thankyou very much for your plugin. It could solve exactly the problem for my project.
I'm using your last plugin version at the repo. I verified your example runs in my system but when using in my project I got this error:
Enviroment:
After several tries I discarded a plugin or configuration conflict. Or a bug in my layout. My main suspect is the _data/29110.csv file, but I can't really diagnose what the problem is. Things I know:
I ran out of ideas and don't know ruby so I can't deep investigating-
Any suggestion? Thanks in advance.
PS: If you want to check my project you can download it: http://olea.org/tmp/webo-29110.zip