blacktop / ipsw

iOS/macOS Research Swiss Army Knife
https://blacktop.github.io/ipsw
MIT License
1.87k stars 145 forks source link

Adjust diff HTML output for parsing #260

Open mc-17 opened 1 year ago

mc-17 commented 1 year ago

It would really tickle my pickle if the diff output had either id values on elements or a hierarchy of tags so that it became easier to parse. For example, to get updated dylibs you must currently find the DSC h2, then the updated dylibs h3, then find any ul below it.

If they had some predictable id attribute, such as [dsc|fs]-updated or putting them under a div with the same name, parsing it would be much simpler.

blacktop commented 1 year ago

I am currently using a 3rd party lib to auto convert the markdown to html. But Go has great html templating so I should def just use that instead as I’m using the template engine for the markdown. 👍