12/8/2023 0 Comments Evernote web clipper downloadTo something like that, all you need is a simple database entry with an id, an url, some kind of flag to indicate it's been downloaded successfully (or when it last failed so it can be tried again later), the path on the filesystem it should/will be stored at and perhaps a text column with a dump of the pages text in it for search purposes. That way you don't need to do any horrible, complicated stuff and can just let servers do what they are good at, rather than having to write something custom to pull potentially large amounts of data out of a database every time this page is viewed. Right-click on the tools menu (gear) and make sure Command Bar is checked. Personally, I'd be inclined to not store it in the database at all, but rather spawn a background job to pull down the site, parse it and filter it with your readability port and then save it to the filesystem somewhere (public or non, public, depending on your needs, you can easily write an assets serving controller to expose non-public static content) using a directory scheme that identifies it uniquely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |