Load txt from Github in html with JavaScript -



Load txt from Github in html with JavaScript -

me , friend working on text, saved in txt format, has custom markup , stored in github repo.

is possible load such txt's github html file javascript , parse them accordingly build html out of custom markup? know such tasks done on server side, provisional purposes, while work on txt's still in progress, possible without server?

i tried load txt's simple xmlhttprequest (as described here) , cors request (as described here), both times got errors due cross-domain nature of requests. i've been wondering, @ possible?

i asking because i'd host provisional website on github pages, not back upwards sites need backend logic.

javascript github cors

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -