KiCad_BOM_Wizard
KiCad_BOM_Wizard copied to clipboard
when datasheet field is an URL, produce a link in the HTLM output
When the datasheet field for a part is populated with an URL (e.g. something starting http) it would be nice if there was a working link produced in the HTML output. now all I seem to get is a plain text with the datasheet field contents.
Hiya, That's a good idea.
I'm thinking any field with the following URL format will qualify to a URL? http://aaaa.bbb http://aaa.bbbb.ccc https://aaaa.bbb https://aaa.bbbb.ccc aaaa.bbb aaa.bbbb.ccc
If so I'm thinking I could use this Regex: ((http|https)://)?([\w_-]+(?:(?:.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])
That said, I'l make sure that I add the option to disable it in case the output is meant to a clean export.
- Ron
ping ;) any progress during last 12 months?
@aewallin Sorry I've not been able to find the time to implement the URL stuff. The sad thing is that its likely wont be worked on until after the new year. :/
To be honest, I'm currently conflicted whether or not I should re-implement the code on Python. Its mostly because KiCad has better support for Python. :(
I'm all for a python re-write! ;) I could probably help/contribute if someone else sets up the basics.