Visitar URL original
GNOME Documents integration · Issue #318 · owncloud-archive/documents · GitHub
Skip to content
This repository was archived by the owner on Jul 24, 2018. It is now read-only.
This repository was archived by the owner on Jul 24, 2018. It is now read-only.

GNOME Documents integration #318

Open

Description

@jancborchardt

I was talking to @cosimoc about integration with GNOME Documents. For Google Drive for example, they show the document using a WebkitView, to allow for collaboration and such.

That would also be possible for ownCloud Documents. The first part of the path owncloud/index.php/apps/documents could be hardcoded, but the #338 (or the relevant document ID) we need a way to get to.

Is there an API for that already @VicDeo, or an extended WebDAV attribute? cc @DeepDiver1975

Activity

  1. DeepDiver1975 commented on Jul 30, 2014

    @DeepDiver1975
    Contributor

    we already communicate the fileid via webdav - no idea if this is enough @VicDeo

  2. DeepDiver1975 commented on Jul 30, 2014

    @DeepDiver1975
    Contributor

    Here is an example from cadaver:

    dav:/owncloud/master/remote.php/webdav/> propget welcome.txt
    Fetching properties for `welcome.txt':
    http://owncloud.org/ns id = 00000005oc9dc772cf81
    http://owncloud.org/ns permissions = RDNVW
    DAV: getetag = "53c697b383d0e"
    DAV: getlastmodified = Fri, 11 Jul 2014 13:02:21 GMT
    DAV: getcontentlength = 163
    DAV: resourcetype = 
    DAV: getcontenttype = text/plain
    dav:/owncloud/master/remote.php/webdav/> 
    
  3. DeepDiver1975 commented on Jul 30, 2014

    @DeepDiver1975
    Contributor

    http://owncloud.org/ns id = 00000005oc9dc772cf81

    this is the webdav property holding the file id

  4. VicDeo commented on Jul 30, 2014

    @VicDeo
    Contributor

    @jancborchardt
    in the URL owncloud/index.php/apps/documents#338
    338 is fileId because it is

    • unique
    • consistent between different users.

    Hash is used internally to identify a document that has collaborators currently.

  5. jancborchardt commented on Jul 31, 2014

    @jancborchardt
    ContributorAuthor

    Ahh great! @cosimoc you can build the URL like this:

    • 1st part: the address from GOA, like https://example.com/owncloud/
    • 2nd part: index.php/apps/documents#
    • 3rd part: section from the ID from the WebDAV request before the »oc«: From 00000338oc55432f2bac it would be 338
  6. DeepDiver1975 commented on Jul 31, 2014

    @DeepDiver1975
    Contributor

    to clearify the file id as we see it in the webdav property:
    it is composed of the fileid as it can be seen in the database and the ownCloud instance id

  7. jancborchardt commented on Aug 12, 2014

    @jancborchardt
    ContributorAuthor
  8. removed their assignment
    on Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions