Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
planet gentoo 中文
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Wed Aug 27, 2008 4:15 pm    Post subject: planet gentoo 中文 Reply with quote

http://planet.gentoo-cn.org/

如果你想把你的blog也加上
请告诉我你的blog的feed地址
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
pjq
n00b
n00b


Joined: 23 Mar 2008
Posts: 28
Location: Zhangshu,JiangXi Province,China

PostPosted: Thu Sep 04, 2008 1:11 pm    Post subject: Reply with quote

有时间把我的也加上吧,谢谢
http://percy.blog.ubuntu.org.cn/feed/
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Thu Sep 04, 2008 2:20 pm    Post subject: Reply with quote

加了,不过你的blog里是分行的,feed里就不分行了
请你研究一下,搞定这个问题
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Zer4tul
n00b
n00b


Joined: 07 Jul 2005
Posts: 21
Location: Chongqing, China

PostPosted: Thu Sep 04, 2008 2:43 pm    Post subject: Reply with quote

http://hi.baidu.com/zer4tul/rss

谢谢
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Thu Sep 04, 2008 5:22 pm    Post subject: Reply with quote

或许你可以问问他 http://hi.baidu.com/3444542 是怎么设定编码的

ERROR:planet.runner:Update of <http://hi.baidu.com/zer4tul/rss> failed
Traceback (most recent call last):
File "/home/zhangle/planet/planet/__init__.py", line 246, in run
channel.update()
File "/home/zhangle/planet/planet/__init__.py", line 609, in update
agent=self._planet.user_agent)
File "/home/zhangle/planet/planet/feedparser.py", line 2696, in parse
feedparser.feed(data)
File "/home/zhangle/planet/planet/feedparser.py", line 1504, in feed
sgmllib.SGMLParser.feed(self, data)
File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/usr/lib/python2.5/sgmllib.py", line 138, in goahead
k = self.parse_endtag(i)
File "/usr/lib/python2.5/sgmllib.py", line 315, in parse_endtag
self.finish_endtag(tag)
File "/usr/lib/python2.5/sgmllib.py", line 355, in finish_endtag
self.unknown_endtag(tag)
File "/home/zhangle/planet/planet/feedparser.py", line 507, in unknown_endtag
method()
File "/home/zhangle/planet/planet/feedparser.py", line 1280, in _end_description
value = self.popContent('description')
File "/home/zhangle/planet/planet/feedparser.py", line 763, in popContent
value = self.pop(tag)
File "/home/zhangle/planet/planet/feedparser.py", line 692, in pop
output = _resolveRelativeURIs(output, self.baseuri, self.encoding)
File "/home/zhangle/planet/planet/feedparser.py", line 1667, in _resolveRelativeURIs
p.feed(htmlSource)
File "/home/zhangle/planet/planet/feedparser.py", line 1504, in feed
sgmllib.SGMLParser.feed(self, data)
File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/usr/lib/python2.5/sgmllib.py", line 133, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.5/sgmllib.py", line 291, in parse_starttag
self.finish_starttag(tag, attrs)
File "/usr/lib/python2.5/sgmllib.py", line 333, in finish_starttag
self.unknown_starttag(tag, attrs)
File "/home/zhangle/planet/planet/feedparser.py", line 1662, in unknown_starttag
_BaseHTMLProcessor.unknown_starttag(self, tag, attrs)
File "/home/zhangle/planet/planet/feedparser.py", line 1524, in unknown_starttag
strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding)
LookupError: unknown encoding:
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
axlrose
n00b
n00b


Joined: 23 Apr 2007
Posts: 1

PostPosted: Sun Sep 07, 2008 8:22 am    Post subject: 我也没怎么设置编码 Reply with quote

我没怎么改动就,好像默认就行了
Back to top
View user's profile Send private message
Li Yanrui
n00b
n00b


Joined: 07 Sep 2008
Posts: 4

PostPosted: Sun Sep 07, 2008 11:13 pm    Post subject: Reply with quote

这是我的 feed:

http://liyanrui.is-programmer.com/feed

Tks.
Back to top
View user's profile Send private message
Zer4tul
n00b
n00b


Joined: 07 Jul 2005
Posts: 21
Location: Chongqing, China

PostPosted: Mon Sep 08, 2008 3:25 am    Post subject: Reply with quote

最近手腕疼,所以周末没怎么碰电脑,没看到你的回复。

看错误信息应该是德文字符搞的……已经去掉了。用feedsky烧录了一个feed:http://feed.feedsky.com/zer4tul

r0bertz wrote:
或许你可以问问他 http://hi.baidu.com/3444542 是怎么设定编码的

ERROR:planet.runner:Update of <http://hi.baidu.com/zer4tul/rss> failed
Traceback (most recent call last):
File "/home/zhangle/planet/planet/__init__.py", line 246, in run
channel.update()
File "/home/zhangle/planet/planet/__init__.py", line 609, in update
agent=self._planet.user_agent)
File "/home/zhangle/planet/planet/feedparser.py", line 2696, in parse
feedparser.feed(data)
File "/home/zhangle/planet/planet/feedparser.py", line 1504, in feed
sgmllib.SGMLParser.feed(self, data)
File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/usr/lib/python2.5/sgmllib.py", line 138, in goahead
k = self.parse_endtag(i)
File "/usr/lib/python2.5/sgmllib.py", line 315, in parse_endtag
self.finish_endtag(tag)
File "/usr/lib/python2.5/sgmllib.py", line 355, in finish_endtag
self.unknown_endtag(tag)
File "/home/zhangle/planet/planet/feedparser.py", line 507, in unknown_endtag
method()
File "/home/zhangle/planet/planet/feedparser.py", line 1280, in _end_description
value = self.popContent('description')
File "/home/zhangle/planet/planet/feedparser.py", line 763, in popContent
value = self.pop(tag)
File "/home/zhangle/planet/planet/feedparser.py", line 692, in pop
output = _resolveRelativeURIs(output, self.baseuri, self.encoding)
File "/home/zhangle/planet/planet/feedparser.py", line 1667, in _resolveRelativeURIs
p.feed(htmlSource)
File "/home/zhangle/planet/planet/feedparser.py", line 1504, in feed
sgmllib.SGMLParser.feed(self, data)
File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/usr/lib/python2.5/sgmllib.py", line 133, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.5/sgmllib.py", line 291, in parse_starttag
self.finish_starttag(tag, attrs)
File "/usr/lib/python2.5/sgmllib.py", line 333, in finish_starttag
self.unknown_starttag(tag, attrs)
File "/home/zhangle/planet/planet/feedparser.py", line 1662, in unknown_starttag
_BaseHTMLProcessor.unknown_starttag(self, tag, attrs)
File "/home/zhangle/planet/planet/feedparser.py", line 1524, in unknown_starttag
strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding)
LookupError: unknown encoding:
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Mon Sep 08, 2008 9:07 am    Post subject: Reply with quote

已经搞定
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Li Yanrui
n00b
n00b


Joined: 07 Sep 2008
Posts: 4

PostPosted: Mon Sep 08, 2008 11:52 am    Post subject: Reply with quote

:cry: 为啥没有我呢?
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Mon Sep 08, 2008 12:35 pm    Post subject: Reply with quote

抱歉,忙昏头了 :lol:
刚刚已经加上,连同galeki的一起
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Mon Sep 08, 2008 12:48 pm    Post subject: Reply with quote

不过我发现似乎planet不能从你的feed地址找到你的blog真正的地址
http://liyanrui.is-programmer.com/posts.rss

所以 planet 上右边你的blog连接是黑色的,:(

不如你也烧一个feed? :-D
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Li Yanrui
n00b
n00b


Joined: 07 Sep 2008
Posts: 4

PostPosted: Mon Sep 08, 2008 12:49 pm    Post subject: Reply with quote

嗯,我问问 galeki,那个 blog 系统是他做的,看看是咋个回事。
Back to top
View user's profile Send private message
Li Yanrui
n00b
n00b


Joined: 07 Sep 2008
Posts: 4

PostPosted: Mon Sep 08, 2008 2:36 pm    Post subject: Reply with quote

:D galeki 修正了 rss 格式,现在可以看到链接了,hoho
Back to top
View user's profile Send private message
hosanna
n00b
n00b


Joined: 05 Jul 2007
Posts: 13
Location: Guangxi China

PostPosted: Wed Sep 10, 2008 6:45 am    Post subject: Reply with quote

我的,但愿有用 :) :)

http://hosanna-cn.blogspot.com/feeds/posts/default
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Thu Sep 11, 2008 10:04 am    Post subject: Reply with quote

hosanna wrote:
我的,但愿有用 :) :)

http://hosanna-cn.blogspot.com/feeds/posts/default


added.
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum