At present I have only implemented it for #include in orchestra. Doing it for scores would be easy if people were happy to have it at all. Writing a strfromurl opcode should not be too hard but I have not looked at string representation -- but I do know how to retrieve a simple page as a string. I do not intend implementing string->url operations as that seems rather unnecessary I am still taking soundings (as it were). The code is committed but I have not navigated the cmake options so I added to my custom file set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -O3 -mtune=core2 -DHAVE_CURL") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -lcurl") It needs to check that the curl-develop package is available. I understand that the library is cross platform but I only have 4 flavours of Linux ==John Quoting joachim heintz : > hi john - > > this seems to open up interesting possibilities. one question: > > is this only for #include statements, or could it be more general, like > Sfile strfromurl "http://my/url" (reading the url content as string), > or perhaps directly via readf/readfi: > Sline, iLineNum readfi "http://my/url" > ? > > that could be very nice for instance for an installation which depends > on the state of a certain website or something similar. > > best - > > joachim > > > Am 22.11.2013 16:35, schrieb john ffitch: >> I have code that allows #include to take a URL in an orchestra and it >> seems to work. My question is, is it a good idea? >> >> Pro: allows remote udo repositories >> sort-of kool >> >> Con: might open people up to unsafe repositories >> Introduces another dependency (libcurl) >> >> >> Any thoughts or comments? >> >> >> ==John ffitch >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net