]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/syndication/syndication.factor
Switch to https urls
[factor.git] / basis / syndication / syndication.factor
index 74198c36a43eeb61a752db750738a00d4da52a8e..caecd9e37a7f9fb083fb12216bfe1a9eae4cd420 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2006 Chris Double, Daniel Ehrenberg.
 ! Portions copyright (C) 2008, 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 USING: accessors byte-arrays calendar.format calendar.parser
 combinators combinators.short-circuit continuations http.client
 kernel present sequences strings urls xml xml.data
@@ -35,7 +35,7 @@ TUPLE: entry title url description date ;
         [ "link" tag-named children>string >url >>url ]
         [ "description" tag-named children>string >>description ]
         [
-            f "date" "http://purl.org/dc/elements/1.1/" <name>
+            f "date" "https://purl.org/dc/elements/1.1/" <name>
             tag-named dup [ children>string try-parsing-timestamp ] when
             >>date
         ]
@@ -139,7 +139,7 @@ M: byte-array parse-feed [ bytes>xml xml>feed ] with-html-entities ;
     [ url>> present ]
     [ entries>> [ entry>xml ] map ] tri
     <XML
-        <feed xmlns="http://www.w3.org/2005/Atom">
+        <feed xmlns="https://www.w3.org/2005/Atom">
             <title><-></title>
             <link rel="alternate" href=<-> />
             <->