danamlewis / embedded-tweet-links

Searches an XML file and creates a CSV file with a list of URLs (such as tweets) that have been embedded using [embed] and [\embed]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embedded-tweet-links

Takes an XML file as input via the command line, searches through it, and creates a CSV file with a list of URLs (such as tweets) that have been embedded using [embed] and [\embed]

How to run

./embedded-links.sh YOURFILE.xml

(Make sure you've remembered to chmod +x ./embedded-links.sh prior to running the above so that it works.

Example output CSV file:

Screen Shot 2022-12-20 at 3 52 48 PM

About

Searches an XML file and creates a CSV file with a list of URLs (such as tweets) that have been embedded using [embed] and [\embed]

License:MIT License


Languages

Language:Shell 100.0%