Foros del Web » Programación para mayores de 30 ;) » Programación General »

Generar automatizamente varios formatos XML

Estas en el tema de Generar automatizamente varios formatos XML en el foro de Programación General en Foros del Web. Tenemos un portal de empleo, y hay sitios de clasificados como trovit o yakaz y otros mas que tienen su propio formato. Hay alguna forma ...
  #1 (permalink)  
Antiguo 21/12/2009, 17:23
 
Fecha de Ingreso: diciembre-2009
Mensajes: 2
Antigüedad: 14 años, 4 meses
Puntos: 0
Pregunta Generar automatizamente varios formatos XML

Tenemos un portal de empleo, y hay sitios de clasificados como trovit o yakaz y otros mas que tienen su propio formato.


Hay alguna forma de generar un solo XML y programar o generar automatizamente otros xmls en diferentes formatos?


Ejemplo de Trovit:
http://www.empleosti.com.mx/trovit_empleo.xml

<trovit>

<ad>
<id>1876</id>

<url>
http://www.empleosti.com.mx/vervacante.php?no=v100809182737
</url>
<title>Desarrollador en Websphere Senior</title>

<content>

Desarrollo en Java: J2EE - Websphere - Message Broker - AIX / UNIX

</content>
<salary>Negociable</salary>
<salary_numeric>00000</salary_numeric>
<city>Guadalajara</city>
<region>Jalisco</region>
<company>DEINTEC</company>
<experience>5 años</experience>
<requirements>Ingles 90%</requirements>
<contract>Full-time</contract>
<category>IT Jobs</category>
<date>10/08/2009</date>
<time>18:30</time>
</ad>

<ad>
<id>1876</id>

<url>
http://www.empleosti.com.mx/vervacante.php?no=v100809182608
</url>
<title>Java Websphere Developer</title>

<content>

We are looking for a PHP developer with 2 years of experience.
Working knowledge of French desired as the website has a French version.

</content>
<salary>40.000-60.000GBP (plus bonus)</salary>
<salary_numeric>50000</salary_numeric>
<city>London</city>
<region>London</region>
<company>WebCo</company>
<experience>2 years minimum</experience>
<requirements>Working knowledge of French</requirements>
<contract>Full-time</contract>
<category>IT Jobs</category>
<date>31/10/2005</date>
<time>18:30</time>
</ad>




Gerarar automaticamente este otro formato

<?xml version="1.0" encoding="utf-8"?>
<source>
<publisher>Super X Job Site</publisher>
<publisherurl>http://www.superxjobsite.com</publisherurl>
<lastBuildDate>Fri, 10 Dec 2008 22:49:39 GMT</lastBuildDate>
<job>
<title><![CDATA[Sales Executive]]></title>
<date><![CDATA[Fri, 10 Dec 2005 22:49:39 GMT]]></date>
<referencenumber><![CDATA[unique123131]]></referencenumber>
<url><![CDATA[http://www.superxjobsite.com/viewjob.cfm?jobid=unique123131]]></url>
<company><![CDATA[Big ABC Corporation]]></company>
<city><![CDATA[Phoenix]]></city>
<state><![CDATA[AZ]]></state>
<country><![CDATA[US]]></country>
<postalcode><![CDATA[85003]]></postalcode>
<description><![CDATA[Do you have 1-3 years of sales experience? Are you relentless at closing the deal? Are you ready for an exciting and high-speed career in sales? If so, we want to hear from you!

[...]

Muchas gracias por su ayuda
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 12:22.