diff --git a/gen_rss.py b/gen_rss.py
index fde6970..09753e5 100755
--- a/gen_rss.py
+++ b/gen_rss.py
@@ -11,9 +11,11 @@ file_path = "./rss.xml"
code_url = "https://git.zeekling.cn/"
+des = "Stay simple, stay naive."
+
resp_url = code_url + "api/v1/repos/search"
-update_days = 15
+update_days = 30
params = {
'sort': 'updated',
@@ -34,9 +36,9 @@ def gen_rss(items):
)
items_rss.append(rss_item)
rss = PyRSS2Gen.RSS2(
- title="private code feed",
+ title=des,
link=code_url,
- description="private code feed",
+ description=des,
lastBuildDate=datetime.datetime.now(),
items=items_rss
)
@@ -62,6 +64,7 @@ def get_items():
if now_time >= end_date:
continue
use_able_count += 1
+ print("title=", resp['name'])
entity = {
'name': resp['name'],
'url': resp['html_url'],
@@ -78,6 +81,7 @@ def get_items():
if __name__ == "__main__":
# main
- print('begin')
+ print('begin--------------------')
items = get_items()
gen_rss(items)
+ print('end----------------------')
diff --git a/rss.xml b/rss.xml
index d59032d..b73bfed 100644
--- a/rss.xml
+++ b/rss.xml
@@ -1,3 +1,2 @@
-private code feedhttps://git.zeekling.cn/private code feedTue, 21 Apr 2020 10:51:03 GMTPyRSS2Gen-1.1.0http://blogs.law.harvard.edu/tech/rss- python/gitea-rsshttps://git.zeekling.cn/python/gitea-rss生成rss总的rss的代码。https://git.zeekling.cn/python/gitea-rssTue, 21 Apr 2020 02:45:13 GMT
- python/sitemaphttps://git.zeekling.cn/python/sitemap通过爬取网站,生成sitemap.xml
-https://git.zeekling.cn/python/sitemapMon, 20 Apr 2020 12:14:24 GMT
- mirror/ggfwzs_in_hackhttps://git.zeekling.cn/mirror/ggfwzs_in_hackhttps://git.zeekling.cn/mirror/ggfwzs_in_hackMon, 20 Apr 2020 09:26:29 GMT
- zeekling/configshttps://git.zeekling.cn/zeekling/configs个人配置相关信息https://git.zeekling.cn/zeekling/configsSun, 19 Apr 2020 10:58:39 GMT
- zeekling/indexhttps://git.zeekling.cn/zeekling/index以前首页代码https://git.zeekling.cn/zeekling/indexSat, 18 Apr 2020 04:43:11 GMT
- java/mybatishttps://git.zeekling.cn/java/mybatis根据自己对mybatis的理解封装一个简易版的mybatishttps://git.zeekling.cn/java/mybatisSat, 18 Apr 2020 04:42:51 GMT
- java/thinkerhttps://git.zeekling.cn/java/thinker毕业设计时候用到的博客系统https://git.zeekling.cn/java/thinkerSat, 18 Apr 2020 04:42:32 GMT
- python/photohttps://git.zeekling.cn/python/photo简单相册,不过已经不会使用这个相册了,使用开源框架搭建了自己的图床,就不需要这个项目了。https://git.zeekling.cn/python/photoSat, 18 Apr 2020 04:41:34 GMT
- java/algorithmhttps://git.zeekling.cn/java/algorithm学习算法导论https://git.zeekling.cn/java/algorithmFri, 17 Apr 2020 16:19:30 GMT
\ No newline at end of file
+Stay simple, stay naive.https://git.zeekling.cn/Stay simple, stay naive.Sun, 14 Feb 2021 11:43:00 GMTPyRSS2Gen-1.1.0http://blogs.law.harvard.edu/tech/rss- linux/vimrchttps://git.zeekling.cn/linux/vimrcvimrc 相关配置https://git.zeekling.cn/linux/vimrcSat, 13 Feb 2021 13:31:06 GMT
- linux/scripthttps://git.zeekling.cn/linux/scriptlinux 相关的脚本.https://git.zeekling.cn/linux/scriptSat, 13 Feb 2021 08:56:17 GMT
- zeekling/configshttps://git.zeekling.cn/zeekling/configs个人配置相关信息https://git.zeekling.cn/zeekling/configsThu, 11 Feb 2021 06:33:29 GMT
- java/leetCodehttps://git.zeekling.cn/java/leetCodeleetCode刷题https://git.zeekling.cn/java/leetCodeSat, 06 Feb 2021 14:48:09 GMT
- zeekling/bolo-fantastichttps://git.zeekling.cn/zeekling/bolo-fantastic此项目是本人对bolo-fantastic进行了一些改造,包括样式和seo两方面。https://git.zeekling.cn/zeekling/bolo-fantasticFri, 22 Jan 2021 14:59:32 GMT
- zeekling/test_chttps://git.zeekling.cn/zeekling/test_cc 语言学习项目。https://git.zeekling.cn/zeekling/test_cSun, 17 Jan 2021 12:53:12 GMT
- zeekling/hiredishttps://git.zeekling.cn/zeekling/hiredishttps://git.zeekling.cn/zeekling/hiredisSun, 17 Jan 2021 10:53:58 GMT
\ No newline at end of file