!muHIIgJPbEXXwrGUxL:matrix.org

Liquid Wiki

20 Members
Welcome. This is a room for devs working on Liquid Wiki - that is a holochain federated wiki app.2 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 Feb 2018
@fortyfoxes:matrix.orgfortyfoxes changed the history visibility to "world_readable" from "shared".22:58:15
2 Feb 2018
@connoropolous:matrix.orgconnoropolousWe have reached a point where we can serve up compliant JSON, but I am not able to transport it in... Is there anything specific to know about Headers or other things, that are also necessary for the Transported to work?19:13:03
@connoropolous:matrix.orgconnoropolousScreen Shot 2018-02-02 at 7.12.08 PM.png
Download Screen Shot 2018-02-02 at 7.12.08 PM.png
19:13:32
@connoropolous:matrix.orgconnoropolous Ward 19:13:38
@connoropolous:matrix.orgconnoropolous or paul90 19:13:54
@Paul90:matrix.org@Paul90:matrix.orgYou are just wanting to display your page JSON as part of a line up?19:14:44
@connoropolous:matrix.orgconnoropolousyes19:14:51
@connoropolous:matrix.orgconnoropolousScreen Shot 2018-02-02 at 7.14.04 PM.png
Download Screen Shot 2018-02-02 at 7.14.04 PM.png
19:15:23
@connoropolous:matrix.orgconnoropolousI know that ID shouldn't look like that, but other than that, is there anything in the JSON itself that would make it not work?19:15:48
@connoropolous:matrix.orgconnoropolousWe aren't delivering story yet...19:15:56
@connoropolous:matrix.orgconnoropolous"Journal" sorry19:16:11
@Paul90:matrix.org@Paul90:matrix.org you can add it to the lineup at the URL, try something like http://christopherreay.outlandish.academy/view/welcome-visitors/localhost/testpage\ replacing localhost with the server you are fetching from and testpage with page slug (think you are using the URL encode title). 19:18:30
@Paul90:matrix.org@Paul90:matrix.org ignore that trailing \ 19:18:54
@connoropolous:matrix.orgconnoropolousInteresting... so I can see in the "network" tab of DevTools that it's SUCCEEDING in getting the JSON, but it says "we could not find this page" in the UI19:23:21
@connoropolous:matrix.orgconnoropoloushttp://connor.outlandish.academy/view/welcome-visitors/a6ccfbc0.ngrok.io/welcome-developers19:23:29
@Paul90:matrix.org@Paul90:matrix.orgFrom the console - Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://a6ccfbc0.ngrok.io/welcome-developers.json. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).19:28:36
@Paul90:matrix.org@Paul90:matrix.orgYou are missing the CORS headers19:28:43
@connoropolous:matrix.orgconnoropolousah right, thank you Paul! I will see if that fixes it19:31:17
@connoropolous:matrix.orgconnoropolousIt now works!19:32:52
@connoropolous:matrix.orgconnoropoloushttp://connor.outlandish.academy/view/welcome-visitors/a6ccfbc0.ngrok.io/welcome-developers19:32:58
@connoropolous:matrix.orgconnoropolousSo many layers of proxy!19:33:40
@connoropolous:matrix.orgconnoropolous:p19:33:41
@connoropolous:matrix.orgconnoropolousBut this is a proof of concept :)19:34:02
@connoropolous:matrix.orgconnoropolousHere's the middleman https://github.com/Connoropolous/holochain-fed-wiki-proxy/blob/master/index.js19:35:18
@Paul90:matrix.org@Paul90:matrix.orgnice to see it working19:37:27
@connoropolous:matrix.orgconnoropolousFor anyone reading later on, these links won't work because I'm going to take the proxies down, since they're just running off my laptop19:39:01

Show newer messages


Back to Room ListRoom Version: