Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This is a response to http://groups.drupal.org/node/298298 where Twig testing is needed.
As we have Drush why not add a DOM tree fetcher to the toolkit?
So here it is
drush @drupal.d8 --user=admin dom-get admin --file=/tmp/admin.d8.xml
Script
By running the script with just 1 argument you can grab any page as user admin on 'branch' 8.x
Later on you may diff the files
diff \
--width=200 \
--suppress-common-lines
--side-by-side \
$FILE_1
$FILE_2
or use your local visual diff tool like on Mac OSX
opendiff $FILE_1 $FILE_2
Project information
- Created by clemens.tolboom on , updated