Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gist mod #23

Open
Answeror opened this issue Jun 18, 2014 · 4 comments
Open

Gist mod #23

Answeror opened this issue Jun 18, 2014 · 4 comments
Milestone

Comments

@Answeror
Copy link
Owner

User can subscribe a gist uri. This gist may contain some sandboxed code or just xpath rules in JSON. Gist mod will download this gist and generate Atom feed according to the rules defined in the gist. The following logic will be same with feed mod.

This mod can be used to subscribe pages with private information, such as Cookies, using private gist. Or user can share useful public gist to others.

For example, one can use a private gist to subscribe his/her bangumi notifications, private pixiv followings, etc.

The popular gists will become new mod candidates.

@Answeror
Copy link
Owner Author

This functionality may not be implemented in a separate mod, but rather a Blueprint or a standalone site. This site is used to convert a web page (may be a set of pages) into desired format (like RSS/Atom feed), according to the JSON config and XSLT contained in the specified gist.

@Answeror
Copy link
Owner Author

实现了一个样例, bgm.tv 私信订阅: https://gist.github.com/Answeror/34fd6a535090ca85a2fc


Implemented private mail subscription of bgm.tv : https://gist.github.com/Answeror/34fd6a535090ca85a2fc

@Answeror
Copy link
Owner Author

@Answeror
Copy link
Owner Author

Eventually, we may separate source making and change detection logic and replace all the spy parts of all the mods with the combination of torabot.mods.onereq and torabot.core.make.

@Answeror Answeror added this to the 0.5.0 milestone Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant