Skip to content

Commit

Permalink
Updating next courses URL in Caelum's tables
Browse files Browse the repository at this point in the history
  • Loading branch information
luiz committed Aug 1, 2011
1 parent e1d8e95 commit c53f351
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions brazil/caelum/brazil.caelum.proximoscursos.xml
Expand Up @@ -5,12 +5,12 @@
<description>Pesquisa na lista de cursos da Caelum</description>
<sampleQuery>select * from {table}</sampleQuery>
</meta>

<bindings>

<select itemPath="" produces="XML">
<execute><![CDATA[
var url = 'http://www.caelum.com.br';
var url = 'http://www.caelum.com.br/calendario';
var xpath = "//div[@id='calendario']/table/tbody/tr";
query = y.query('select * from html where url="' + url + '" and xpath="' + xpath + '"');
Expand Down Expand Up @@ -40,10 +40,10 @@
responseXML.cursos += curso;
}
}
response.object = responseXML;
]]></execute>

</select>
</bindings>
</table>
</table>
6 changes: 3 additions & 3 deletions brazil/caelum/brazil.caelum.proximoscursos_html.xml
Expand Up @@ -5,12 +5,12 @@
<description>Pesquisa na lista de cursos da Caelum</description>
<sampleQuery>select * from {table}</sampleQuery>
</meta>

<bindings>

<select itemPath="" produces="XML">
<execute><![CDATA[
var url = 'http://www.caelum.com.br';
var url = 'http://www.caelum.com.br/calendario';
var xpath = "//div[@id='calendario']/table/tbody/tr";
query = y.query('select * from html where url="' + url + '" and xpath="' + xpath + '"');
Expand All @@ -20,4 +20,4 @@

</select>
</bindings>
</table>
</table>

0 comments on commit c53f351

Please sign in to comment.