After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725827 - Define GDATA_LINK_PARENT
Define GDATA_LINK_PARENT
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: Google Documents service
git master
Other All
: Normal enhancement
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-06 14:59 UTC by Debarshi Ray
Modified: 2014-03-10 22:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
atom: Add a GDATA_LINK_PARENT define (4.11 KB, patch)
2014-03-10 22:36 UTC, Philip Withnall
committed Details | Review

Description Debarshi Ray 2014-03-06 14:59:21 UTC
One needs to pass 'http://schemas.google.com/docs/2007#parent' to gdata_entry_look_up_links to get the list of parents of a GDataEntry. However this is, sort of, a hidden feature because neither could I find it in Google's documentation [1] nor is it mentioned in libgdata's documentation.

Having a GDATA_LINK_PARENT would be nice. I can see atleast 2 places where this is used -- gnome-online-miners and libgdata itself.

[1] https://developers.google.com/google-apps/documents-list/
Comment 1 Philip Withnall 2014-03-10 22:36:27 UTC
Created attachment 271487 [details] [review]
atom: Add a GDATA_LINK_PARENT define

This is a link type which is included in the GData specification (in the
RelaxNG schema), but is not documented anywhere. Good job, Google. Best
for us to define it and allow clients to use it, than to ignore it.

New API:
 • GDATA_LINK_PARENT
Comment 2 Philip Withnall 2014-03-10 22:36:56 UTC
Attachment 271487 [details] pushed as 7c2d184 - atom: Add a GDATA_LINK_PARENT define