summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloyd Hightower <fhightower@users.noreply.github.com>2017-09-25 09:53:29 -0400
committerFiveFilters.org <fivefilters@fivefilters.org>2017-09-25 15:53:29 +0200
commit0a538c466a67522f19b12381a6f61d20a8a247a8 (patch)
tree16c718d702e0c7ab4fc38ef136d652c60b568736
parent6820d2ba06dc4d80f22e43fe0c0aa294013312b5 (diff)
downloadftr-site-config-0a538c466a67522f19b12381a6f61d20a8a247a8.tar.gz
ftr-site-config-0a538c466a67522f19b12381a6f61d20a8a247a8.zip
Adding config for us-cert.gov alerts (#338)
-rw-r--r--us-cert.gov.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/us-cert.gov.txt b/us-cert.gov.txt
new file mode 100644
index 0000000..35ea19b
--- /dev/null
+++ b/us-cert.gov.txt
@@ -0,0 +1,9 @@
+# Page title
+title: //h1[@id='page-title']
+# Page subtitle
+title: //h2[@id='page-sub-title']
+# Page metadata
+date: //footer[contains(concat(' ',normalize-space(@class),' '),' submitted ')]
+# Page body
+body: //article[contains(concat(' ',normalize-space(@class),' '),' node ')]//div[contains(concat(' ',normalize-space(@class),' '),' content ') and (contains(concat(' ',normalize-space(@class),' '),' clearfix '))]
+test_url: https://www.us-cert.gov/ncas/alerts/TA17-181A \ No newline at end of file