Parcourir la source

Comments can be on external site

Thomas Buck il y a 12 ans
Parent
révision
fbd6337243
2 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 2
    2
      output/rss.xml
  2. 2
    0
      page.html

+ 2
- 2
output/rss.xml Voir le fichier

6
 <atom:link href="http://www.xythobuz.de/rss.xml" rel="self" type="application/rss+xml" />
6
 <atom:link href="http://www.xythobuz.de/rss.xml" rel="self" type="application/rss+xml" />
7
 <description>xythobuz Electronics &amp; Software Projects</description>
7
 <description>xythobuz Electronics &amp; Software Projects</description>
8
 <language>en-us</language>
8
 <language>en-us</language>
9
-<pubDate>Tue, 07 May 2013 17:33:05 -0000</pubDate>
10
-<lastBuildDate>Tue, 07 May 2013 17:33:05 -0000</lastBuildDate>
9
+<pubDate>Tue, 07 May 2013 18:39:48 -0000</pubDate>
10
+<lastBuildDate>Tue, 07 May 2013 18:39:48 -0000</lastBuildDate>
11
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
11
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
12
 <generator>Poole</generator>
12
 <generator>Poole</generator>
13
 
13
 

+ 2
- 0
page.html Voir le fichier

124
             print '</script>'
124
             print '</script>'
125
             print '<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>'
125
             print '<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>'
126
             print '<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>'
126
             print '<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>'
127
+        elif page.get("comments", "false") != "false":
128
+            print '<p><a href="%s">Head over here to discuss this article!</a></p>' % page.get("comments", "false")
127
         %-->
129
         %-->
128
 
130
 
129
         </div>
131
         </div>

Chargement…
Annuler
Enregistrer