Reading xml files & i18n

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)

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

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’))

i miss something? how to run a ruby script from a page w/o backdoor
extension?

U can create a tag like the standard tags…
I mean create a radiant customized tag to handle the ruby script…

cheers,
kranthi.

where to put custom tags?

creating and extension or put them on lib/ dir?

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

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs