-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wallabag can't handle plain text #444
Comments
This may be a little more difficult than it seems. We have to check the |
this is next challenge, related to db structure expansion. Adding of "mime_type" field will allow wallabag to handle also other formats, for example we will be able to store pdf. This is good direction of growth, on my opinion. I hope, will be able to to test @nicosomb's install script next week and will try to think about accurate and secure db changes. |
@mariroz you want to add a new column in entries table? To store mimetype? Good idea. But, I'm "chilly" to database modification ... wallabag is not well structured, so upgrades are quite sensitive. |
@mariroz do you think this feature is possible for wallabag 1.x? |
I hope, that yes :) |
If we modify database structure, could do it once and for all, like adding an is_administrator column in users, a comments column in entries, etc ? |
@tcitworld, yes, of course we will need more columns. |
I'll open a new issue specifically for this. |
Going for v2.0. |
I just tried the URL in the 1st post and this one for example (http://www.oracle.com/technetwork/java/readme-2-149793.txt) with wallabag v2. And it works. Is this issue still mandatory? |
And I heard someone saved pdfs. So I guess we're good, with MIME Type now stored. |
mimetype is not yet stored. |
No, but the thing is : the url is saved, with the title. |
yes 👍 about mimetype, I don't know if it's easy. Because you can't get the URL "mimetype", it doesn't exist ... |
Of course you can, it's the Content-Type http header. ;-) EDIT : https://stackoverflow.com/questions/2610713/get-mime-type-of-external-file-using-curl-and-php |
oh yes, you're right. |
Fixed in graby. |
wallabag can't handle plain text
E.g. http://ibiblio.org/pub/linux/docs/ldpResearch/ldp-historic/LinuxNews.03A
The text was updated successfully, but these errors were encountered: