Browse Source

Use HTTPS links in lifestream Atom feed

master
Chimo 3 years ago
parent
commit
16d6fe6b7b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      updates.php

+ 3
- 3
updates.php View File

@@ -27,13 +27,13 @@ $res = $dbh->query($sql);
27 27
 $feed = new ATOM;
28 28
 
29 29
 $feed->setTitle('chimo\'s updates');
30
-$feed->setLink('http://chromic.org');
30
+$feed->setLink('https://chromic.org');
31 31
 $feed->setDate(new DateTime());
32 32
 
33 33
 $feed->setChannelElement('author', array('name' => 'chimo'));
34 34
 
35
-$feed->setSelfLink('http://chromic.org/updates.xml');
36
-$feed->setAtomLink('http://push.chromic.org', 'hub');
35
+$feed->setSelfLink('https://chromic.org/updates.xml');
36
+$feed->setAtomLink('https://push.chromic.org', 'hub');
37 37
 
38 38
 while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
39 39
     $newItem = $feed->createNewItem();

Loading…
Cancel
Save