otetard / ownpad

Ownpad is a Nextcloud application that allows to create and open Etherpad and Ethercalc documents.
GNU Affero General Public License v3.0
58 stars 25 forks source link

Getting a link to a spreadsheet instead of the spreadsheet #22

Closed goiken closed 7 years ago

goiken commented 7 years ago

I have nextcloud and ethercalc up and running. After installing ownpad and providing the link to my ethercalc-instance in the settings, I can now create spreadsheet-files. But when I click them, I get to download a text-file that looks like this

[InternetShortcut] URL=http://link-to-my-instance.com/95NFcKBr6jvQvIcR

If I hit http://link-to-my-instance.com/95NFcKBr6jvQvIcR in the browser, I find a working spreadsheet, that I’d like to see from within nextcloud instead whenever I click a .calc-file.

I also did cp $NEXTROOT/resources/config/mimetypemapping.dist.json $NEXTROOT/config/mimetypemapping.json, where $NEXTROOT is the base folder of my nextcloud instance. Then I added the mimetypes as suggested in the readme.

Nota bene: With etherpad this all works as expected.

goiken commented 7 years ago

Hm… Somehow it works now. I’m not quite sure what I did, to accomplish that. I guess, I changed the instance to the default (https://framacalc.org) and back to my own…?!