<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>表单 &#8211; 李辉 / Grey Li</title>
	<atom:link href="https://greyli.com/tag/%E8%A1%A8%E5%8D%95/feed/" rel="self" type="application/rss+xml" />
	<link>https://greyli.com</link>
	<description>一个编程和写作爱好者的在线记事本</description>
	<lastBuildDate>Thu, 06 Nov 2025 11:36:11 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.26</generator>

<image>
	<url>https://greyli.com/wp-content/uploads/2025/03/avatar-500-compressed-144x144.jpg</url>
	<title>表单 &#8211; 李辉 / Grey Li</title>
	<link>https://greyli.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>《Flask 入门教程》第 7 章：表单</title>
		<link>https://greyli.com/flask-tutorial-chapter-7-form/</link>
		<comments>https://greyli.com/flask-tutorial-chapter-7-form/#respond</comments>
		<pubDate>Tue, 01 Jan 2019 10:20:29 +0000</pubDate>
		<dc:creator><![CDATA[李辉]]></dc:creator>
				<category><![CDATA[计算机与编程]]></category>
		<category><![CDATA[Flask]]></category>
		<category><![CDATA[Flask 入门教程]]></category>
		<category><![CDATA[表单]]></category>

		<guid isPermaLink="false">http://greyli.com/?p=2106</guid>
		<description><![CDATA[在 HTML 页面里，我们需要编写表单来获取用户输入。一个典型的表单如下所示： &#60;form method [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>
	在 HTML 页面里，我们需要编写表单来获取用户输入。一个典型的表单如下所示：
</p>
<pre>
&lt;form method=&quot;post&quot;&gt;  &lt;!-- 指定提交方法为 POST --&gt;
    &lt;label for=&quot;name&quot;&gt;名字&lt;/label&gt;
    &lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;name&quot;&gt;&lt;br&gt;  &lt;!-- 文本输入框 --&gt;
    &lt;label for=&quot;occupation&quot;&gt;职业&lt;/label&gt;
    &lt;input type=&quot;text&quot; name=&quot;occupation&quot; id=&quot;occupation&quot;&gt;&lt;br&gt;  &lt;!-- 文本输入框 --&gt;
    &lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;登录&quot;&gt;  &lt;!-- 提交按钮 --&gt;
&lt;/form&gt;</pre>
<p>
	编写表单的 HTML 代码有下面几点需要注意：
</p>
<ul>
<li>
		在&nbsp;<code>&lt;form&gt;</code>&nbsp;标签里使用&nbsp;<code>method</code>&nbsp;属性将提交表单数据的 HTTP 请求方法指定为 POST。如果不指定，则会默认使用 GET 方法，这会将表单数据通过 URL 提交，容易导致数据泄露，而且不适用于包含大量数据的情况。
	</li>
<li>
		<code>&lt;input&gt;</code>&nbsp;元素必须要指定&nbsp;<code>name</code>&nbsp;属性，否则无法提交数据，在服务器端，我们也需要通过这个&nbsp;<code>name</code>&nbsp;属性值来获取对应字段的数据。
	</li>
</ul>
<p>
	<strong>提示</strong>&nbsp;填写输入框标签文字的&nbsp;<code>&lt;label&gt;</code>&nbsp;元素不是必须的，只是为了辅助鼠标用户。当使用鼠标点击标签文字时，会自动激活对应的输入框，这对复选框来说比较有用。<code>for</code>&nbsp;属性填入要绑定的&nbsp;<code>&lt;input&gt;</code>&nbsp;元素的&nbsp;<code>id</code>&nbsp;属性值。
</p>
<h2>
	创建新条目<br />
</h2>
<p>
	创建新条目可以放到一个新的页面来实现，也可以直接在主页实现。这里我们采用后者，首先在主页模板里添加一个表单：
</p>
<p>
	<em>templates/index.html：添加创建新条目表单</em>
</p>
<pre>
&lt;p&gt;{{ movies|length }} Titles&lt;/p&gt;
&lt;form method=&quot;post&quot;&gt;
    Name &lt;input type=&quot;text&quot; name=&quot;title&quot; autocomplete=&quot;off&quot; required&gt;
    Year &lt;input type=&quot;text&quot; name=&quot;year&quot; autocomplete=&quot;off&quot; required&gt;
    &lt;input class=&quot;btn&quot; type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Add&quot;&gt;
&lt;/form&gt;</pre>
<p>
	在这两个输入字段中，<code>autocomplete</code>&nbsp;属性设为&nbsp;<code>off</code>&nbsp;来关闭自动完成（按下输入框不显示历史输入记录）；另外还添加了&nbsp;<code>required</code>&nbsp;标志属性，如果用户没有输入内容就按下了提交按钮，浏览器会显示错误提示。
</p>
<p>
	两个输入框和提交按钮相关的 CSS 定义如下：
</p>
<pre>
/* 覆盖某些浏览器对 input 元素定义的字体 */
input[type=submit] {
    font-family: inherit;
}

input[type=text] {
    border: 1px solid #ddd;
}

input[name=year] {
    width: 50px;
}

.btn {
    font-size: 12px;
    padding: 3px 5px;
    text-decoration: none;
    cursor: pointer;
    background-color: white;
    color: black;
    border: 1px solid #555555;
    border-radius: 5px;
}

.btn:hover {
    text-decoration: none;
    background-color: black;
    color: white;
    border: 1px solid black;
}</pre>
<p>
	接下来，我们需要考虑如何获取提交的表单数据。
</p>
<h2>
	处理表单数据<br />
</h2>
<p>
	默认情况下，当表单中的提交按钮被按下，浏览器会创建一个新的请求，默认发往当前 URL（在&nbsp;<code>&lt;form&gt;</code>&nbsp;元素使用&nbsp;<code>action</code>&nbsp;属性可以自定义目标 URL）。
</p>
<p>
	因为我们在模板里为表单定义了 POST 方法，当你输入数据，按下提交按钮，一个携带输入信息的 POST 请求会发往根地址。接着，你会看到一个 405 Method Not Allowed 错误提示。这是因为处理根地址请求的&nbsp;<code>index</code>&nbsp;视图默认只接受 GET 请求。
</p>
<p>
	<strong>提示</strong>&nbsp;在 HTTP 中，GET 和 POST 是两种最常见的请求方法，其中 GET 请求用来获取资源，而 POST 则用来创建 / 更新资源。我们访问一个链接时会发送 GET 请求，而提交表单通常会发送 POST 请求。
</p>
<p>
	为了能够处理 POST 请求，我们需要修改一下视图函数：
</p>
<pre>
@app.route(&#39;/&#39;, methods=['GET', 'POST'])</pre>
<p>
	在&nbsp;<code>app.route()</code>&nbsp;装饰器里，我们可以用&nbsp;<code>methods</code>&nbsp;关键字传递一个包含 HTTP 方法字符串的列表，表示这个视图函数处理哪种方法类型的请求。默认只接受 GET 请求，上面的写法表示同时接受 GET 和 POST 请求。
</p>
<p>
	两种方法的请求有不同的处理逻辑：对于 GET 请求，返回渲染后的页面；对于 POST 请求，则获取提交的表单数据并保存。为了在函数内加以区分，我们添加一个 if 判断：
</p>
<p>
	<em>app.py：创建电影条目</em>
</p>
<pre>
from flask import request, url_for, redirect, flash

# ...

@app.route(&#39;/&#39;, methods=['GET', 'POST'])
def index():
    if request.method == &#39;POST&#39;:  # 判断是否是 POST 请求
        # 获取表单数据
        title = request.form.get(&#39;title&#39;)  # 传入表单对应输入字段的 name 值
        year = request.form.get(&#39;year&#39;)
        # 验证数据
        if not title or not year or len(year) &gt; 4 or len(title) &gt; 60:
            flash(&#39;Invalid input.&#39;)  # 显示错误提示
            return redirect(url_for(&#39;index&#39;))  # 重定向回主页
        # 保存表单数据到数据库
        movie = Movie(title=title, year=year)  # 创建记录
        db.session.add(movie)  # 添加到数据库会话
        db.session.commit()  # 提交数据库会话
        flash(&#39;Item Created.&#39;)  # 显示成功创建的提示
        return redirect(url_for(&#39;index&#39;))  # 重定向回主页

    user = User.query.first()
    movies = Movie.query.all()
    return render_template(&#39;index.html&#39;, user=user, movies=movies)</pre>
<p>
	在&nbsp;<code>if</code>&nbsp;语句内，我们编写了处理表单数据的代码，其中涉及 3 个新的知识点，下面来一一了解。
</p>
<h3>
	请求对象<br />
</h3>
<p>
	Flask 会在请求触发后把请求信息放到&nbsp;<code>request</code>&nbsp;对象里，你可以从&nbsp;<code>flask</code>&nbsp;包导入它：
</p>
<pre>
from flask import request</pre>
<p>
	因为它在请求触发时才会包含数据，所以你只能在视图函数内部调用它。它包含请求相关的所有信息，比如请求的路径（<code>request.path</code>）、请求的方法（<code>request.method</code>）、表单数据（<code>request.form</code>）、查询字符串（<code>request.args</code>）等等。
</p>
<p>
	在上面的&nbsp;<code>if</code>&nbsp;语句中，我们首先通过&nbsp;<code>request.method</code>&nbsp;的值来判断请求方法。在&nbsp;<code>if</code>&nbsp;语句内，我们通过&nbsp;<code>request.form</code>&nbsp;来获取表单数据。<code>request.form</code>&nbsp;是一个特殊的字典，用表单字段的&nbsp;<code>name</code>&nbsp;属性值可以获取用户填入的对应数据：
</p>
<pre>
if request.method == &#39;POST&#39;:
    title = request.form.get(&#39;title&#39;)
    year = request.form.get(&#39;year&#39;)</pre>
<h3>
	flash 消息<br />
</h3>
<p>
	在用户执行某些动作后，我们通常在页面上显示一个提示消息。最简单的实现就是在视图函数里定义一个包含消息内容的变量，传入模板，然后在模板里渲染显示它。因为这个需求很常用，Flask 内置了相关的函数。其中&nbsp;<code>flash()</code>&nbsp;函数用来在视图函数里向模板传递提示消息，<code>get_flashed_messages()</code>&nbsp;函数则用来在模板中获取提示消息。
</p>
<p>
	<code>flash()</code>&nbsp;的用法很简单，首先从&nbsp;<code>flask</code>&nbsp;包导入&nbsp;<code>flash</code>&nbsp;函数：
</p>
<pre>
from flask import flash</pre>
<p>
	然后在视图函数里调用，传入要显示的消息内容：
</p>
<pre>
flash(&#39;Item Created.&#39;)</pre>
<p>
	<code>flash()</code>&nbsp;函数在内部会把消息存储到 Flask 提供的&nbsp;<code>session</code>&nbsp;对象里。<code>session</code>&nbsp;用来在请求间存储数据，它会把数据签名后存储到浏览器的 Cookie 中，所以我们需要设置签名所需的密钥：
</p>
<pre>
app.config['SECRET_KEY'] = &#39;dev&#39;  # 等同于 app.secret_key = &#39;dev&#39;</pre>
<p>
	<strong>提示</strong>&nbsp;这个密钥的值在开发时可以随便设置。基于安全的考虑，在部署时应该设置为随机字符，且不应该明文写在代码里， 在部署章节会详细介绍。
</p>
<p>
	下面在基模板（base.html）里使用&nbsp;<code>get_flashed_messages()</code>&nbsp;函数获取提示消息并显示：
</p>
<pre>
&lt;!-- 插入到页面标题上方 --&gt;
{% for message in get_flashed_messages() %}
	&lt;div class=&quot;alert&quot;&gt;{{ message }}&lt;/div&gt;
{% endfor %}
&lt;h2&gt;...&lt;/h2&gt;</pre>
<p>
	<code>alert</code>&nbsp;类为提示消息增加样式：
</p>
<pre>
.alert {
    position: relative;
    padding: 7px;
    margin: 7px 0;
    border: 1px solid transparent;
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
    border-radius: 5px;
}</pre>
<p>
	通过在&nbsp;<code>&lt;input&gt;</code>&nbsp;元素内添加&nbsp;<code>required</code>&nbsp;属性实现的验证（客户端验证）并不完全可靠，我们还要在服务器端追加验证：
</p>
<pre>
if not title or not year or len(year) &gt; 4 or len(title) &gt; 60:
    flash(&#39;Invalid input.&#39;)  # 显示错误提示
    return redirect(url_for(&#39;index&#39;))
# ...
flash(&#39;Item Created.&#39;)  # 显示成功创建的提示</pre>
<p>
	<strong>提示</strong>&nbsp;在真实世界里，你会进行更严苛的验证，比如对数据去除首尾的空格。一般情况下，我们会使用第三方库（比如&nbsp;<a href="https://github.com/wtforms/wtforms">WTForms</a>）来实现表单数据的验证工作。
</p>
<p>
	如果输入的某个数据为空，或是长度不符合要求，就显示错误提示&ldquo;Invalid input.&rdquo;，否则显示成功创建的提示&ldquo;Item Created.&rdquo;。
</p>
<h3>
	重定向响应<br />
</h3>
<p>
	重定向响应是一类特殊的响应，它会返回一个新的 URL，浏览器在接受到这样的响应后会向这个新 URL 再次发起一个新的请求。Flask 提供了&nbsp;<code>redirect()</code>&nbsp;函数来快捷生成这种响应，传入重定向的目标 URL 作为参数，比如&nbsp;<code>redirect(&#39;http://helloflask.com&#39;)</code>。
</p>
<p>
	根据验证情况，我们发送不同的提示消息，最后都把页面重定向到主页，这里的主页 URL 均使用&nbsp;<code>url_for()</code>&nbsp;函数生成：
</p>
<pre>
if not title or not year or len(year) &gt; 4 or len(title) &gt; 60:
    flash(&#39;Invalid title or year!&#39;)  
    return redirect(url_for(&#39;index&#39;))  # 重定向回主页
flash(&#39;Movie Created!&#39;)
return redirect(url_for(&#39;index&#39;))  # 重定向回主页</pre>
<h2>
	编辑条目<br />
</h2>
<p>
	编辑的实现和创建类似，我们先创建一个用于显示编辑页面和处理编辑表单提交请求的视图函数：
</p>
<p>
	<em>app.py：编辑电影条目</em>
</p>
<pre>
@app.route(&#39;/movie/edit/&lt;int:movie_id&gt;&#39;, methods=['GET', 'POST'])
def edit(movie_id):
    movie = Movie.query.get_or_404(movie_id)

    if request.method == &#39;POST&#39;:  # 处理编辑表单的提交请求
        title = request.form['title']
        year = request.form['year']
        
        if not title or not year or len(year) &gt; 4 or len(title) &gt; 60:
            flash(&#39;Invalid input.&#39;)
            return redirect(url_for(&#39;edit&#39;, movie_id=movie_id))  # 重定向回对应的编辑页面
        
        movie.title = title  # 更新标题
        movie.year = year  # 更新年份
        db.session.commit()  # 提交数据库会话
        flash(&#39;Item Updated.&#39;)
        return redirect(url_for(&#39;index&#39;))  # 重定向回主页
    
    return render_template(&#39;edit.html&#39;, movie=movie)  # 传入被编辑的电影记录</pre>
<p>
	这个视图函数的 URL 规则有一些特殊，如果你还有印象的话，我们在第 2 章的《实验时间》部分曾介绍过这种 URL 规则，其中的&nbsp;<code>&lt;int:movie_id&gt;</code>&nbsp;部分表示 URL 变量，而&nbsp;<code>int</code>&nbsp;则是将变量转换成整型的 URL 变量转换器。在生成这个视图的 URL 时，我们也需要传入对应的变量，比如&nbsp;<code>url_for(&#39;edit&#39;, movie_id=2)</code>&nbsp;会生成 /movie/edit/2。
</p>
<p>
	<code>movie_id</code>&nbsp;变量是电影条目记录在数据库中的主键值，这个值用来在视图函数里查询到对应的电影记录。查询的时候，我们使用了&nbsp;<code>get_or_404()</code>&nbsp;方法，它会返回对应主键的记录，如果没有找到，则返回 404 错误响应。
</p>
<p>
	为什么要在最后把电影记录传入模板？既然我们要编辑某个条目，那么必然要在输入框里提前把对应的数据放进去，以便于进行更新。在模板里，通过表单&nbsp;<code>&lt;input&gt;</code>&nbsp;元素的&nbsp;<code>value</code>&nbsp;属性即可将它们提前写到输入框里。完整的编辑页面模板如下所示：
</p>
<p>
	<em>templates/edit.html：编辑页面模板</em>
</p>
<pre>
{% extends &#39;base.html&#39; %}

{% block content %}
&lt;h3&gt;Edit item&lt;/h3&gt;
&lt;form method=&quot;post&quot;&gt;
    Name &lt;input type=&quot;text&quot; name=&quot;title&quot; autocomplete=&quot;off&quot; required value=&quot;{{ movie.title }}&quot;&gt;
    Year &lt;input type=&quot;text&quot; name=&quot;year&quot; autocomplete=&quot;off&quot; required value=&quot;{{ movie.year }}&quot;&gt;
    &lt;input class=&quot;btn&quot; type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Update&quot;&gt;
&lt;/form&gt;
{% endblock %}</pre>
<p>
	最后在主页每一个电影条目右侧都添加一个指向该条目编辑页面的链接：
</p>
<p>
	<em>index.html：编辑电影条目的链接</em>
</p>
<pre>
&lt;span class=&quot;float-right&quot;&gt;
    &lt;a class=&quot;btn&quot; href=&quot;{{ url_for(&#39;edit&#39;, movie_id=movie.id) }}&quot;&gt;Edit&lt;/a&gt;
    ...
&lt;/span&gt;</pre>
<p>
	点击某一个电影条目的编辑按钮打开的编辑页面如下图所示：
</p>
<p>
	<a href="https://github.com/greyli/flask-tutorial/blob/master/chapters/images/7-1.png" rel="noopener noreferrer" target="_blank"><img alt="编辑电影条目" src="https://github.com/greyli/flask-tutorial/raw/master/chapters/images/7-1.png" /></a>
</p>
<h2>
	删除条目<br />
</h2>
<p>
	因为不涉及数据的传递，删除条目的实现更加简单。首先创建一个视图函数执行删除操作，如下所示：
</p>
<p>
	<em>app.py：删除电影条目</em>
</p>
<pre>
@app.route(&#39;/movie/delete/&lt;int:movie_id&gt;&#39;, methods=['POST'])  # 限定只接受 POST 请求
def delete(movie_id):
    movie = Movie.query.get_or_404(movie_id)  # 获取电影记录
    db.session.delete(movie)  # 删除对应的记录
    db.session.commit()  # 提交数据库会话
    flash(&#39;Item Deleted.&#39;)
    return redirect(url_for(&#39;index&#39;))  # 重定向回主页</pre>
<p>
	为了安全的考虑，我们一般会使用 POST 请求来提交删除请求，也就是使用表单来实现（而不是创建删除链接）：
</p>
<p>
	<em>index.html：删除电影条目表单</em>
</p>
<pre>
&lt;span class=&quot;float-right&quot;&gt;
    ...
    &lt;form class=&quot;inline-form&quot; method=&quot;post&quot; action=&quot;{{ url_for(&#39;delete&#39;, movie_id=movie.id) }}&quot;&gt;
        &lt;input class=&quot;btn&quot; type=&quot;submit&quot; name=&quot;delete&quot; value=&quot;Delete&quot; onclick=&quot;return confirm(&#39;Are you sure?&#39;)&quot;&gt;
    &lt;/form&gt;
    ...
&lt;/span&gt;</pre>
<p>
	为了让表单中的删除按钮和旁边的编辑链接排成一行，我们为表单元素添加了下面的 CSS 定义：
</p>
<pre>
.inline-form {
    display: inline;
}</pre>
<p>
	最终的程序主页如下图所示：
</p>
<p>
	<a href="https://github.com/greyli/flask-tutorial/blob/master/chapters/images/7-2.png" rel="noopener noreferrer" target="_blank"><img alt="添加表单和操作按钮后的主页" src="https://github.com/greyli/flask-tutorial/raw/master/chapters/images/7-2.png" /></a>
</p>
<h2>
	本章小结<br />
</h2>
<p>
	本章我们完成了程序的主要功能：添加、编辑和删除电影条目。结束前，让我们提交代码：
</p>
<pre>
$ git add .
$ git commit -m &quot;Create, edit and delete item by form&quot;
$ git push</pre>
<p>
	<strong>提示</strong> 你可以在 GitHub 上查看本书示例程序的对应 commit：<a href="https://github.com/greyli/watchlist/commit/84e766f276a25cb2b37ab43a468b2b707ed3489c" spellcheck="false">84e766f</a>。在后续的 <a href="https://github.com/greyli/watchlist/commit/bb892c5f4721208619e656ccda7827c821fb301a" spellcheck="false">commit</a> 里，我们为另外两个常见的 HTTP 错误：400（Bad Request） 和 500（Internal Server Error） 错误编写了错误处理函数和对应的模板，前者会在请求格式不符要求时返回，后者则会在程序内部出现任意错误时返回（关闭调试模式的情况下）。
</p>
<h2>
	进阶提示<br />
</h2>
<ul>
<li>
		从上面的代码可以看出，手动验证表单数据既麻烦又不可靠。对于复杂的程序，我们一般会使用集成了 WTForms 的扩展&nbsp;<a href="https://github.com/lepture/flask-wtf">Flask-WTF</a>&nbsp;来简化表单处理。通过编写表单类，定义表单字段和验证器，它可以自动生成表单对应的 HTML 代码，并在表单提交时验证表单数据，返回对应的错误消息。更重要的，它还内置了 CSRF（跨站请求伪造） 保护功能。你可以阅读&nbsp;<a href="https://flask-wtf.readthedocs.io/en/stable/" rel="nofollow">Flask-WTF 文档</a>和 Hello, Flask! 专栏上的<a href="https://zhuanlan.zhihu.com/p/23577026" rel="nofollow">表单系列文章</a>了解具体用法。
	</li>
<li>
		CSRF 是一种常见的攻击手段。以我们的删除表单为例，某恶意网站的页面中内嵌了一段代码，访问时会自动发送一个删除某个电影条目的 POST 请求到我们的程序。如果我们访问了这个恶意网站，就会导致电影条目被删除，因为我们的程序没法分辨请求发自哪里。解决方法通常是在表单里添加一个包含随机字符串的隐藏字段，在提交时通过对比这个字段的值来判断是否是用户自己发送的请求。在我们的程序中没有实现 CSRF 保护。
	</li>
<li>
		使用 Flask-WTF 时，表单类在模板中的渲染代码基本相同，你可以编写宏来渲染表单字段。如果你使用 Bootstap，那么扩展&nbsp;<a href="https://github.com/greyli/bootstrap-flask">Bootstrap-Flask</a>&nbsp;内置了多个表单相关的宏，可以简化渲染工作。
	</li>
<li>
		你可以把删除按钮的行内 JavaScript 代码改为事件监听函数，写到单独的 JavaScript 文件里。
	</li>
<li>
		<a href="http://helloflask.com/book/" rel="nofollow">《Flask Web 开发实战》</a>第 4 章介绍了表单处理的各个方面，包括表单类的编写和渲染、错误消息显示、自定义错误消息语言、文件和多文件上传、富文本编辑器等等。
	</li>
<li>
		本书主页 &amp; 相关资源索引：<a href="http://helloflask.com/tutorial" rel="noreferrer" target="_blank">http://helloflask.com/tutorial</a>。
	</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://greyli.com/flask-tutorial-chapter-7-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
