How to parse an xml sitemap using PHP and Curl

<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, ‘https://www.example.com/sitemap.xml’); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); curl_setopt($ch,CURLOPT_USERAGENT,’Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36′); $resp = curl_exec ($ch); $xml = new SimpleXMLElement($resp); foreach ($xml->url…

Take back your privacy with DuckDuckGo

DuckDuckgo is the favorite search engine at dotmaui.com. Respect your privacy and do not track yourself. Recently, Duck has released extensions for Chrome and Firefox that block most of the scripts that track users. Take a…

Take Back Your Privacy!

Do not underestimate the importance of your privacy. Give an eye to www.privacytools.io, it is a useful collection of programs and services to respect your privacy. Another useful resource is definitely spreadprivacy.com, the blog of…

Restrict access to Tomcat 8 manager

To prevent access to the tomcat 8 Manager to all IPs except those authorized, it is necessary to configure the file manager.xml of the localhost application. The file should be found in the following path:…

HTML Minify API V. 1.1 Released

This is a beta version, available only for premium users. Some optional parameters have been added, here is the complete list: collapseboolattr Boolean Remove attribute values from boolean attributes. Default is false   collapsewhitespace String Possible…

What’s new

JS Minify 1.3.5, CSS Minify 1.4.3, HTML Minify 1.2.2 and XML Minify 1.0.2 released with fullscreen mode support. You can now use these tools at full screen, without annoying advertising, thanks to a clean and…