sergeychernyshev / my-semantic-profile

A simple tool to maintain a profile page using RDF data
GNU General Public License v3.0
1 stars 1 forks source link

Latest fix brakes the QR code generator example #3

Open berezovskyi opened 8 years ago

berezovskyi commented 8 years ago

On https://www.sergeychernyshev.com/foaf-qr-cards/:

The default link https://www.sergeychernyshev.com/foaf-qr-cards/?uri=http%3A%2F%2Fwww.sergeychernyshev.com%2Fsergey can't find the primaryTopic.

https://www.sergeychernyshev.com/sergey.rdf looks fairly valid, so I think the code can't fetch the page w/o https.

Adding https like https://www.sergeychernyshev.com/foaf-qr-cards/?uri=https%3A%2F%2Fwww.sergeychernyshev.com%2Fsergey redirects me to

http://www.zazzle.com/api/create/at-238687091386512540?&ax=Linkover&fwd=ProductPage&pd=240040019626422998&name=%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B9+%D0%A7%D0%B5%D1%80%D0%BD%D1%8B%D1%88%D0%B5%D0%B2&homepage=+http%3A%2F%2Fwww.sergeychernyshev.com%2F&uri=uri%3A+https%3A%2F%2Fwww.sergeychernyshev.com%2Fsergey&qr=http%3A%2F%2Fwww.sergeychernyshev.com%2Ffoaf-qr-cards%2Fimg.php%3Furi%3Dhttp%253A%252F%252Fqrcode.kaywa.com%252Fimg.php%253Fs%253D12%2526d%253Dhttps%25253A%25252F%25252Fwww.sergeychernyshev.com%25252Fsergey

and then it fails miserably.

sergeychernyshev commented 8 years ago

Looks like I missed this issue because of disabled notifications.

It seems multiple issues are a cause and most of them are in https://www.sergeychernyshev.com/foaf-qr-cards/ project actually, not in Semantic Profile project.

I didn't code much RDF in PHP in a while so I might never fix it ;)

berezovskyi commented 8 years ago

Well, close the issue when you feel like it in that case :)