Skip to content

The cherrio config route#1699

Merged
DIYgod merged 17 commits intoDIYgod:masterfrom
SettingDust:master
Mar 11, 2019
Merged

The cherrio config route#1699
DIYgod merged 17 commits intoDIYgod:masterfrom
SettingDust:master

Conversation

@SettingDust
Copy link
Copy Markdown
Contributor

@SettingDust SettingDust commented Mar 6, 2019

Use js config too build rss

close #349 close #1035

| lib/router.js 中的完整代码 | `router.get('/github/issue/:user/:repo', require('./routes/github/issue'));` |

3. [embassy](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/embassy/index.js)
3. [embassy](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/embassy/common-config.js)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是啥?

| the complete code in lib/router.js | `router.get('/github/issue/:user/:repo', require('./routes/github/issue'));` |

3. [embassy](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/embassy/index.js)
3. [embassy](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/embassy/common-config.js)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是啥?

Procfile Outdated
@@ -1 +1 @@
web: node lib/index.js
web: node lib/common-config.js
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是啥?

docs/README.md Outdated

### 裏垢女子まとめ

<route name="主页" author="SettingDust" example="/uraaka-joshi" path="/common/uraaka-joshi"/>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path 不对

};
}

module.exports = buildData;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要补充下使用文档

@DIYgod DIYgod merged commit f8990b7 into DIYgod:master Mar 11, 2019
@DIYgod
Copy link
Copy Markdown
Owner

DIYgod commented Mar 11, 2019

Merged, thanks!

item: '.content-main .stream .stream-item',
title: `$('.post-name').text() + '@${params.id} - 裏垢女子まとめ'`,
link: `https://www.uraaka-joshi.com/users/${params.id}`,
description: `$('.post .context').html()`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SettingDust
hi, it seems that we should handle the video item manually, not just parsing the html. The video tag misses the attribute "controls" and it won't show up at the rss reader ( e.g. feedly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

希望增加裏垢女子まとめ的rss 支持通过配置文件添加源

3 participants