]> khamidou — GitHub mirrors - fuzzr.git/commitdiff
fixed a typo in feed template master
authorkhamidou <khamidou@gmail.com>
Sun, 3 Jan 2010 20:01:06 +0000 (21:01 +0100)
committerkhamidou <khamidou@gmail.com>
Sun, 3 Jan 2010 20:01:06 +0000 (21:01 +0100)
models.py
static/style.css~ [deleted file]
templates/error.htm~ [deleted file]
templates/feed.xml
templates/feed.xml~
templates/index.htm~ [deleted file]
templates/layout.htm~ [deleted file]
templates/login.htm~ [deleted file]
templates/page.htm~ [deleted file]
templates/userfeed.rss~ [deleted file]
templates/userfeed.rss~~ [deleted file]

index 41faf49c25c69a0bcb240e2c10a0a08d56e09f80..72ebacfb90fd749e32b64151d82d81bf8b0ab3df 100644 (file)
--- a/models.py
+++ b/models.py
@@ -12,7 +12,7 @@ actions = db.actions
 def create_post(title, desc, for_musicians=0):
     return {"title": title,
             "description": desc,
-            "for-musicians": for_musicians)
+            "for-musicians": for_musicians,
        }
 
 def create_user(username, passwd, is_root, is_musician=0):
diff --git a/static/style.css~ b/static/style.css~
deleted file mode 100644 (file)
index aeb728b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-body {
-  background-color: white;
-  font: 13.34px helvetica, arial, clean, sans-serif;
-  font-size: small;
-  width: 750px;
-  margin: 0 auto;
-
-}
-
-#wrap {
-}     
\ No newline at end of file
diff --git a/templates/error.htm~ b/templates/error.htm~
deleted file mode 100644 (file)
index c4d157b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-$error
index d9c413bce2ce77205a7214a0e83f3edcebf6a746..4f2b48f94c160530fd8f319b17ab05ded7f83d54 100644 (file)
@@ -1,11 +1,12 @@
 $def with (actions, username)
-<xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
+
 <rss version="2.0">
 
 <channel>
 <title>$username Fuzzr RSS feed</title>
 <description></description>
-<link>http://fuzzr.org/page/$username/feed.xml</link>
+<link>http://fuzzr.org/page/$username/</link>
 <lastBuildDate></lastBuildDate>
 <pubDate></pubDate>
 
index a74e99ef16fc61606d2ca1dac9e5461759d76f27..d9c413bce2ce77205a7214a0e83f3edcebf6a746 100644 (file)
@@ -1,21 +1,20 @@
 $def with (actions, username)
-
-<?xml version="1.0" encoding="UTF-8" ?>
+<xml version="1.0" encoding="UTF-8" ?>
 <rss version="2.0">
 
 <channel>
 <title>$username Fuzzr RSS feed</title>
 <description></description>
-<link>http://fuzzr.org/page/$username/feed.rss</link>
+<link>http://fuzzr.org/page/$username/feed.xml</link>
 <lastBuildDate></lastBuildDate>
 <pubDate></pubDate>
 
 $for action in actions:
-<item>
-<title>$action["title"]</title>
-<description>$action["description"]</description>
-<link>http://fuzzr.org/page/$username/</link>
-</item>
+       <item>
+         <title>$action["title"]</title>
+         <description>$action["description"]</description>
+         <link>http://fuzzr.org/page/$username/</link>
+       </item>
 
 </channel>
-</rss>
\ No newline at end of file
+</rss>
diff --git a/templates/index.htm~ b/templates/index.htm~
deleted file mode 100644 (file)
index a1d7d70..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<link rel="alternate" type="application/rss+xml" 
-   href="/feed/karim/" title="RSS feed for My Page">
-
-<a href="/page/karim/">Page</a>
-<a href="/feed/karim/" type="application/rss+xml">Karim's feed</a>
-<a href="/login/">login</a>
-<a href="/logout/">logout</a>
-<a href="/add/">Add</a>
diff --git a/templates/layout.htm~ b/templates/layout.htm~
deleted file mode 100644 (file)
index cf536e1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-$def with (content)
-<html>
-<head>
-  <title>Fuzzr</title>
-  <link rel="stylesheet" href="/static/style.css" type="text/css" />
-</head>
-<body>
-  <a href="/">Home, home again</a>
-  $:content
-</body>
-</html>
diff --git a/templates/login.htm~ b/templates/login.htm~
deleted file mode 100644 (file)
index b094dfa..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-$def with (form)
-
-<form name="main" method="post"> 
-$if not form.valid: <p class="error">Unable to log you, please retry</p>
-$:form.render()
-<input type="submit" />    </form>
diff --git a/templates/page.htm~ b/templates/page.htm~
deleted file mode 100644 (file)
index fbafb20..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-$def with (actions, username)
-
-<div class="content">
-$if username != None: <h1>$username's page</h1>
-  <ul>
-    $for action in actions:
-       <li>$action["description"]</li>
-  </ul>
-</div>
diff --git a/templates/userfeed.rss~ b/templates/userfeed.rss~
deleted file mode 100644 (file)
index a74e99e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-$def with (actions, username)
-
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0">
-
-<channel>
-<title>$username Fuzzr RSS feed</title>
-<description></description>
-<link>http://fuzzr.org/page/$username/feed.rss</link>
-<lastBuildDate></lastBuildDate>
-<pubDate></pubDate>
-
-$for action in actions:
-<item>
-<title>$action["title"]</title>
-<description>$action["description"]</description>
-<link>http://fuzzr.org/page/$username/</link>
-</item>
-
-</channel>
-</rss>
\ No newline at end of file
diff --git a/templates/userfeed.rss~~ b/templates/userfeed.rss~~
deleted file mode 100644 (file)
index a74e99e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-$def with (actions, username)
-
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0">
-
-<channel>
-<title>$username Fuzzr RSS feed</title>
-<description></description>
-<link>http://fuzzr.org/page/$username/feed.rss</link>
-<lastBuildDate></lastBuildDate>
-<pubDate></pubDate>
-
-$for action in actions:
-<item>
-<title>$action["title"]</title>
-<description>$action["description"]</description>
-<link>http://fuzzr.org/page/$username/</link>
-</item>
-
-</channel>
-</rss>
\ No newline at end of file