Skip to content

Commit cdaaaff

Browse files
ivysronoJ0WI
authored andcommitted
Update Altmetric.com.xml (EFForg#8899)
* Update Altmetric.com.xml * Update downgrade-whitelist.txt
1 parent df50628 commit cdaaaff

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed
Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
<!--
2-
Not covered:
3-
- support.altmetric.com (bad cert)
4-
5-
The page /blog/ would fail with mixed content in the relevant
6-
browsers and so is excluded. However, /blog/ is linked relatively,
7-
so simply using exclusion patterns is not sufficient.
2+
Mismatch:
3+
status.altmetric.com
4+
5+
Redirect to http:
6+
metricstoolkit.altmetric.com
87
-->
98
<ruleset name="Altmetric.com">
109
<target host="altmetric.com" />
11-
<target host="www.altmetric.com" />
12-
<target host="alt.altmetric.com" />
13-
14-
<test url="http://altmetric.com/blog/" />
15-
<test url="https://altmetric.com/blog/" />
16-
<test url="http://www.altmetric.com/blog/" />
17-
<test url="https://www.altmetric.com/blog/" />
18-
19-
<exclusion pattern="^http://(www\.)?altmetric.com/blog/"/>
20-
<rule from="^https://(www\.)?altmetric\.com/blog/" to="http://$1altmetric.com/blog/" downgrade="1" />
10+
<target host="*.altmetric.com" />
11+
<test url="http://agingalbanyny.altmetric.com/" />
12+
<test url="http://alt.altmetric.com/" />
13+
<test url="http://bmj.altmetric.com/" />
14+
<test url="http://bookalytics.altmetric.com/" />
15+
<test url="http://cdc.altmetric.com/" />
16+
<test url="http://cell.altmetric.com/" />
17+
<test url="http://dovemedicalpress.altmetric.com/" />
18+
<test url="http://elsevier.altmetric.com/" />
19+
<test url="http://help.altmetric.com/" />
20+
<test url="http://jamanetwork.altmetric.com/" />
21+
<test url="http://nature.altmetric.com/" />
22+
<test url="http://norden.altmetric.com/" />
23+
<test url="http://oxfordjournals.altmetric.com/" />
24+
<test url="http://springerlink.altmetric.com/" />
25+
<test url="http://support.altmetric.com/" />
26+
<test url="http://wiley.altmetric.com/" />
2127

22-
<rule from="^http:"
23-
to="https:"/>
28+
<exclusion pattern="^http://(metricstoolkit|status)\.altmetric\.com/" />
29+
<test url="http://metricstoolkit.altmetric.com/" />
30+
<test url="http://status.altmetric.com/" />
2431

32+
<rule from="^http:" to="https:"/>
2533
</ruleset>

utils/downgrade-whitelist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Adform (partial)
2-
Altmetric.com
32
Apple.com (partial)
43
CERN.ch (partial)
54
Cheezburger

0 commit comments

Comments
 (0)