Could anyone read xml files from radiant pages? i installed backdoor extension and hpricot but still couldnt achive to what i want i want to read xml files that is located on another server is there any extension for that? secondly, is there any attempt or chance to translate radiant to another language? (in my case, to turkish)
on 15.05.2008 10:37
on 15.05.2008 11:07
U can have a hack to the remote server using a net/http request and the achieve the rest using REXML..This should work acutally ..... cheers, kranthi
on 15.05.2008 11:56
with the help of backdoor? i want to deploy this script to a page: http://www.ikinoktayazilim.com/wordpress/2007/11/13/vakitrb/ but constantly gives errors firstly i cant use include REXML no probs i added it to right place vakitler = REXML::Document.new(File.new('vakit.xml')).root.to_a[bugun].text.split(/\t/) but i wouldnt work this way tho... but that'd work: vakitler = REXML::Document.new(File.new('vakit.xml'))
on 15.05.2008 12:11
No I dont think we need to use backdoor extension... Its not mandatory... U can use net/http and send/receive the request in xml format. cheers, kranthi.
on 15.05.2008 13:47
i miss something? how to run a ruby script from a page w/o backdoor extension?
on 15.05.2008 13:51
U can create a tag like the standard tags.. I mean create a radiant customized tag to handle the ruby script... cheers, kranthi.
on 17.05.2008 22:51
where to put custom tags? creating and extension or put them on lib/ dir?
on 18.05.2008 20:26
Yeah, All you need to do is to create an extension.Then create a file and write a tag which you can use it globally... cheers, kranthi