Coder Social home page Coder Social logo

xextension-readable's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xextension-readable's Issues

Unexpected token

I cant seem to get the extension to work i get "Unexpected token" here is an output of running curl -XPOST http://read:3000/ -H "Content-Type: application/json" -d'("url": "https://www.androidcentral.com/accessories/audio/amazon-echo-frames-carrera-eyewear-reveal")'

`

<title>Error</title>
SyntaxError: Unexpected token ( in JSON at position 0
   at JSON.parse (<anonymous>)
   at createStrictSyntaxError (/application/node_modules/body-parser/lib/types/json.js:169:10)
   at parse (/application/node_modules/body-parser/lib/types/json.js:86:15)
   at /application/node_modules/body-parser/lib/read.js:128:18
   at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
   at invokeCallback (/application/node_modules/raw-body/index.js:238:16)
   at done (/application/node_modules/raw-body/index.js:227:7)
   at IncomingMessage.onEnd (/application/node_modules/raw-body/index.js:287:7)
   at IncomingMessage.emit (node:events:514:28)
   at endReadableNT (node:internal/streams/readable:1359:12)
`

Compatibility with the LaTeX extension?

I have both the Readable and LaTeX extensions installed and they work perfectly each on their own. However, if I fetch the full text of a feed using Readable, the formulas therein no longer get rendered as math by LaTeX. For an example, please see this post. Is this something more easily resolved on the Readable side or the LaTeX one? Thanks!

CPU time and RAM usage when idling

Thanks, have tried it and works.

But it looks like it doesn't really idle compared to other running containers. Also RAM usage is a bit high in idle state:

Bildschirm­foto 2022-12-18 um 16 27 02

Uncaught Error: Call to undefined method FreshRSS_Entry::feedId()

There is a bug that prevents FreshRSS from updating feeds when Readable is enabled:

PHP Fatal error: Uncaught Error: Call to undefined method FreshRSS_Entry::feedId() in /var/www/FreshRSS/extensions/xExtension-Readable/extension.php:22\nStack trace:\n#0 /var/www/FreshRSS/lib/Minz/ExtensionManager.php(337): ReadableExtension->fetchStuff()\n#1 /var/www/FreshRSS/lib/Minz/ExtensionManager.php(308): Minz_ExtensionManager::callOneToOne()\n#2 /var/www/FreshRSS/app/Controllers/feedController.php(424): Minz_ExtensionManager::callHook()\n#3 /var/www/FreshRSS/app/Controllers/feedController.php(769): FreshRSS_feed_Controller::actualizeFeed()\n#4 /var/www/FreshRSS/lib/Minz/Dispatcher.php(119): FreshRSS_feed_Controller->reloadAction()\n#5 /var/www/FreshRSS/lib/Minz/Dispatcher.php(48): Minz_Dispatcher->launchAction()\n#6 /var/www/FreshRSS/lib/Minz/FrontController.php(76): Minz_Dispatcher->run()\n#7 /var/www/FreshRSS/p/i/index.php(57): Minz_FrontController->run()\n#8 {main}\n thrown in /var/www/FreshRSS/extensions/xExtension-Readable/extension.php on line 22

Thanks for creating this extension!

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.