digipres / sentinel

The Sentinel watches various data source and updates digipres.org
Apache License 2.0
5 stars 3 forks source link

Add support for reading file magic from FFW #18

Open anjackson opened 10 months ago

anjackson commented 10 months ago

The FFW supports documenting format magic numbers, tagged as {{magic}}. Can this be added to the extractor code so it appears in the aggregator?

thorsted commented 10 months ago

Sometimes the magic tags are in the body and other times in the header of the wiki article. They also vary from hex bytes to ascii. If there is a preferred method, I can suggest conformance.

Examples: http://fileformats.archiveteam.org/wiki/RCA-VOC http://fileformats.archiveteam.org/wiki/PSF_(PhotoStudio)