gleek / fluxpocket Goto Github PK
View Code? Open in Web Editor NEWDrupal module for pocket integration for fluxkraft
Drupal module for pocket integration for fluxkraft
Triggered everytime a url is deleted from pocket
Every time a pocket event is triggered, maximum allowed entries(3) are fetched even those which are already fetched.
this is handled in PocketTaskEntryHandler.php getRequestArguments() but does not seem to work
Follow up of #1
Currently the Rules Action "Modify/Delete Url from Pocket" contains of 5 different actions. These 5 Actions should be provided as separate actions.
The Project Broadly consists of two parts :
The Action Part is fully functional as of now.
Events/Triggers(Future Tasks):
RepetitiveTaskHandlerBase
classCronEventHandlerBase
classThe events of established services such as fluxtwitter don't seem to respond when the events take place. There might be some configuration errors. This is critical to understand before making the events for gleek/fluxpocket.
An event should be triggered when an url is added to the Pocket.
The Event in turn should create variables specifying the:
url, tags, status(favorite/archive), resolved_url, etc.
The rule should also give the list of tags
As stated in the API docs, Modifying tags for items can be possible. For making that work, we might need to get or to retrieve the item_id for a given URL.
So for solving this issue, we have to deal with retrieving data from Pocket first.
The bug can be reproduced considering the following scenario
since_id
is updated to the time_updated
of the URLtime_updated
is changed for the URLThis bug holds for any other event such as a new archived entry.
Causes
Since the Updation time of URL is changed when there are any changes in Pocket corresponding that URL (such as adding it to archive or editing the tags),
there is no way for fluxpocket to know that the entries have been evaluated previously.
Possible Solution
Storing the id
's of all the processed items and matching them every time with all the entries of pocket.
This is highly inefficient and also the existing fluxservice infrastructure may not have this extent of flexibility.
Other options such as considering the time_created
instead of time_updated
also provide wrong results.
Task Handlers are classes that dispatch rule events.
Provides a repetitive task that is repetitively run by Rules Scheduler depending on the configured polling interval.
The classes are created extending the RepetetiveTaskHandlerBase
class
The major classes and there functions should be written in a form of raw documentation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.