After my last post about my version control project for Apple’s Configuration Profile Reference I got a request from a fellow Mac admin and namesake Eric about doing the same scraping and version control for the Mobile Device Management Protocol Reference.
I looked into this and found that it would be possible to create a scraper for any of these developer Guides and Sample Code pages as they all have the same html formatting and structure.
I put all other projects on hold and developed a generic version of the scraping script against the Mobile Device Management Protocol Reference page.
You can find my GitHub project for that page here.
Unfortunately there were not as many archived pages for this page as it was private until sometime last year, but I managed to find a few pages to get a little peek into it’s revision history.
The Mobile Device Management Protocol Reference page is not really meant for #macadmins as it’s a reference for MDM developers. But I still wanted to put it here for anyone insterested in the world of MDM.
Also, the script is only tested against the Mobile Device Management Protocol Reference page, so I would expect a few more tweaks to be neccesseary until it’s truly generic against Apple’s site design. But it’s a good start.
I will probably updated the Profile reference page using this new script in the future.