Giter VIP home page Giter VIP logo

pietsmiet_xposter's Introduction

Backend for the Pietsmiet-App

Processes pietsmiet.de feeds (Uploadplan, News, Videos, Pietcast):

  • Load feed descriptions from the direct URL
  • Store in Firebase Database
  • Send a Firebase Cloud Message
  • Upload thumbnails of Video to Firebase Storage
  • Crosspost Uploadplan to http://reddit.com/r/pietsmiet
  • Checks for edits of the Uploadplan
  • Removes deleted items from the database

See also: Old commit history of repository

pietsmiet_xposter's People

Contributors

l3d00m avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pietsmiet_xposter's Issues

Delete recent records from db that aren't in rss feed anymore

Sometimes posts (especially videos) get deleted / renamed and they'll still be in the database / duplicated. To avoid this, compare the db post titles against the rss post titles if all posts where the same in that fetching cycle and delete db posts that aren't in the rss feed anymore.

Alternatively ping every of the URLs and check if they return 404 and delete them then.

Lol, ich kann Titel ändern :O

Zuallererst habe ich es nicht auf dich abgesehen und ich hatte ja wohl recht mit deiner Namensnennung. Das dann der direkt Bann erfolgt und die komplette Situation einseitig und unvollständig dargestellt wird, ja sogar behauptet wird, ich hätte gegen Regel #7 verstoßen, obwohl mein Posting wesentlich früher erschien, ist schon dreist. Wie du Kommentare entfernst, sieht man immer schön an der Differenz zwischen der Anzahl abgegebener Kommentare und den tatsächlich Vorhandenen.

Der Mikkel-Satz sollte eine locker-flockig formulierte Art und Weise sein, um den Leser auf ps.de zu locken. Hat ja sonst keinen Mehrwert, wenn man direkt ne 1:1 Kopie hat. Zudem hat mein Upload-Plan noch auf eine falsch nummerierte Folge und das Werbevideo hingewiesen, bevor dein Bot überhaupt was gecheckt hat.

Fix wrong date in RSS

The date in pietsmiet.de RSS is two hours too early (because the timezone is not considered)

Fix that by adding two hours to the date.

We have to take all instances of the bot offline and update them, otherwise we'll have the same spam problem again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.