mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

Preview Support: URL File Type #91

Open ocdtrekkie opened 6 years ago

ocdtrekkie commented 6 years ago

I know Davros isn't intended to store links, but sometimes I want to store a link with my files, and so I'll create a new "Internet Shortcut" (file type .URL) in Windows and upload it along with my files. But to view the website, I have to download it first, which seems silly, considering how simple the filetype is. My suggestion is that Davros should extract the URL property from this text format file, and let you open it in a new tab.

http://www.lyberty.com/encyc/articles/tech/dot_url_format_-_an_unofficial_guide.html

Sample URL File:

[InternetShortcut] URL=http://www.someaddress.com/ WorkingDirectory=C:\WINDOWS\ ShowCommand=7 IconIndex=1 IconFile=C:\WINDOWS\SYSTEM\url.dll Modified=20F06BA06D07BD014D HotKey=1601