hdx-ckan
hdx-ckan copied to clipboard
Change shared link for resource share
We currently share the link to the resource which will be either:
- a download from hdx in a goo.gl link
- a direct link to a remote resource (like a geonode page or dropbox download)
Mixpanel can't count downloads from the 2nd situation.
Change the link shared for resource shares to be the dataset page instead.
Tagging @alexandru-m-g in case I've misunderstood something.
What if we share the preview link instead ? I know some resources don't really have a preview but we could imagine a version of the preview page even for those. Just seemed a bit weird to share the same link whether you share the whole dataset or just a resource.
I agree, it is a bit weird, but our preview page doesn't look very nice. I think it can be @yumiendo or @amcguire62 's call. Could we perhaps remove the share links from resources?
I find resource level 'share' lacking bit of information/credentials (user receives a direct link to download and its missing description, meta data, source, etc)
my preference would be to remove the share option from resources and we let users 'share' at dataset level only... unless @amcguire62 thinks this is a deal breaker :)
In addition - shall we add a bit of details in the 'share' email:
Title of dataset (via HDX) <- in the email title
- include the first 25 words(or so) of description
- a goo.gl link
example: Lake Chad Basin FTS Appeal Data (via HDX) Contains data from OCHA's Financial Tracking Service on the financial requirements and current funding levels for appeals in the Lake Chad Basin crisis countries. http://goo.gl/5o5LCb
Sounds good to me!
+1 good for me also
I have pushed a change for removing the share link for resources.
@yumiendo @danmihaila About the second change related to the email body, without changing too much the mechanism for how that works we could do something like the following:
- here is the test dataset with a long formatted description
- and here is how the email would look like
Notice that the formatting is gone. To keep it we should probably change the the way this works. Right now the email is actually sent by the user from his email client that automatically opens. To have a nice formatting we would need to send the email from our servers and provide a nice web form for that.