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

Prepare plugin-architecture: Move things around #38

Open
nhoening opened this issue Aug 16, 2012 · 1 comment
Open

Prepare plugin-architecture: Move things around #38

nhoening opened this issue Aug 16, 2012 · 1 comment
Assignees

Comments

@nhoening
Copy link
Owner

Make a plugins-folder (is plugins the best name? Should it be a plugon?) within driveby-sharing.

Make a tt-rss folder therein. Move the greader-import folder to plugins/tt-rss.

Every plugin needs one php-file (e.g. gritttt.php) for basic functionality. Make a README to explain that, maybe an interface:

  • do_imports()
  • check_login() -> True/False
  • insert(url, title, comment)

form.php needs the first two, share.php all three.

New config-option: plugin - this way, gritttt-rss finds the right gritttt.php to use.

The config-options gritttt_url and path_to_ttrss are tt-rss specific. Do we need them/can we replace them oce we are done (they are also used in dialog.js).

@ghost ghost assigned nhoening Aug 16, 2012
@nhoening
Copy link
Owner Author

We could name that folder platforms

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

No branches or pull requests

1 participant