Subversion Repository Public Repository

Nextrek

Diff Revisions 168 vs 169 for /WindowsPhone/OpenLavoro/OpenLavoro/MainPage.xaml.cs

Diff revisions: vs.
  @@ -55,7 +55,7 @@
55 55
56 56 WebClient webClient1 = new WebClient();
57 57 webClient1.DownloadStringCompleted += new DownloadStringCompletedEventHandler(webClient1_DownloadStringCompleted);
58 - webClient1.DownloadStringAsync(new System.Uri("http://www.testdevol.nextrek.it/endpoint/categories.php"));
58 + webClient1.DownloadStringAsync(new System.Uri("http://www.openlavoro.it/endpoint/categories.php"));
59 59
60 60 }
61 61
  @@ -131,7 +131,7 @@
131 131 String id2 = child2.SelectToken("id").Value<String>();
132 132 String nomeCategoria2 = child2.SelectToken("name").Value<String>();
133 133 String tipo2 = child2.SelectToken("type").Value<String>();
134 - String queryString = String.Format("http://www.testdevol.nextrek.it/endpoint/article.php?id={0}", id2);
134 + String queryString = String.Format("http://www.openlavoro.it/endpoint/article.php?id={0}", id2);
135 135
136 136 a = new ElementList() { Id = id2, Name = nomeCategoria2, Type = tipo2, ListCat = { }, ListArt = { }, Link = queryString, NElem = "0" };
137 137 articoli.Add(a);
  @@ -450,7 +450,7 @@
450 450 type = "all";
451 451 }
452 452
453 - queryString = String.Format("http://www.testdevol.nextrek.it/endpoint/search.php?query={0}&orderBy={1}&type={2}", query, orderBy, type);
453 + queryString = String.Format("http://www.openlavoro.it/endpoint/search.php?query={0}&orderBy={1}&type={2}", query, orderBy, type);
454 454 oldQuery = query;
455 455
456 456 WebClient webClient2 = new WebClient();
  @@ -503,7 +503,7 @@
503 503 int jTitle = iTitle + 9; //indice iniziale del valore del tag "title"
504 504 String tagTitle = htmlTxt.Substring(jTitle, htmlTxt.Substring(jTitle).IndexOf(quote)); //valore del tag "title"
505 505
506 - String queryString = String.Format("http://www.testdevol.nextrek.it/endpoint/article.php?id={0}", tagId);
506 + String queryString = String.Format("http://www.openlavoro.it/endpoint/article.php?id={0}", tagId);
507 507
508 508
509 509 e = new ElementList(tagId, tagTitle, "Articolo", lcat, lart, queryString, "0");