notshi / d-preview

Generate a private d-preview site with IATI xml.
http://d-preview.codeforiati.org
1 stars 0 forks source link

Submit data to preview interface via URL #7

Closed stevieflow closed 3 years ago

stevieflow commented 3 years ago

With @markbrough & @andylolz we noticed that whilst we can construct d-portal previews via URL , these are not encoded

Example - Datastore Classic query: https://datastore.codeforiati.org/api/1/access/activity.xml?reporting-org=44000&recipient-country=LR

http://ed1223157812cf733764ff4847d8c038.portald.wetgenes.com/ctrack.html#view=main

whereas

encodes the URL and therefore previews the data in the query

http://cecc6a315bb0e41c2db46f5729518d49.portald.wetgenes.com/ctrack.html#view=main

Could the interface to the preview support URL submission, in the same way we have via CoVE (for example): https://iati.cove.opendataservices.coop/

I'm not exactly sure how this differs from what is setup with @bjwebb already btw - one to discuss

Thanks

notshi commented 3 years ago

Hi @stevieflow there is now an interface to submit a url.