#* The date.getTime method doesn't work with IFTTT's date and time formatting though
Explore tagged Tumblr posts
ao3feed-bakusquad · 5 months ago
Note
Why are the same fics getting posted multiple times? I’m getting notifications for the same fics over and over throughout the day?
This trouble is caused when either AO3 starts producing multiple entries for the exact same story, or extreme lag causes errors that make IFTTT either load the wrong feed entries or consider previous entries to be new, when in reality they are not.
I have compensated for this issue by adding a date check to the code, that tests what day of the month the story was posted and compares it to the present date. When the issue grew worse, I added time checks too (that way posts from the previous day only post in the early morning, posts from the early morning won't post after noon, etc.).
Unfortunately when the repeat entries show up shortly after a work is posted, rather that at a later date or time, the date and time checks don't really help. My system is also not as helpful at the end of the month, since some months have 31 days, instead of 30.
If IFTTT actually left the date in Coordinated Universal Time like it is in the actual feed, instead of changing it to a weirdly formatted string before submitting it to my javascript filter code, the time and date tests would be far easier to program. 😠
I'll try to work on the code some more and see if I can find some compact javascript that will make the time and date checks work better. (The filtering, autotagging and such has me near the character limit for custom code).
3 notes · View notes