Skip to content

Commit

Permalink
update to encode html within description and status
Browse files Browse the repository at this point in the history
  • Loading branch information
spullara committed May 4, 2009
1 parent 639eb2c commit 7c8f107
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions alltables.env
Expand Up @@ -63,6 +63,7 @@ use 'http://www.datatables.org/nyt/nyt.people.users.xml' as nyt.people.users;
use 'http://www.datatables.org/opensocial/opensocial.people.xml' as opensocial.people;
use 'http://www.datatables.org/search/search.imageweb.xml' as search.imageweb;
use 'http://www.datatables.org/search/search.rank.xml' as search.rank;
use 'http://www.datatables.org/shopping/shopping.deals.xml' as shopping.deals;
use 'http://www.datatables.org/shopping/shopping.product.search.xml' as shopping.product.search;
use 'http://www.datatables.org/social/social.friendapps.xml' as social.friendapps;
use 'http://www.datatables.org/twitter/twitter.user.profile.xml' as twitter.user.profile;
Expand Down
6 changes: 3 additions & 3 deletions shopping/shopping.deals.xml
Expand Up @@ -25,9 +25,9 @@ for each (var div in dealhtml.div) {
deal.image += <image><src>{div.div[0].a.img.@src}</src></image>;
deal.price += <price>{compress(div.strong.a.text())}</price>;
deal.shipping += <shipping>{compress(div.em.text())}</shipping>;
deal.description += <description>{div.p[0].*}</description>;
deal.status += <status>{div.p[1].*}</status>;
deal.logo += <logo>{div.div[1].*}</logo>;
deal.description += <description>{compress(div.p[0].*)}</description>;
deal.status += <status>compress({div.p[1].*})</status>;
deal.logo += <logo>compress({div.div[1].*})</logo>;
deals.deal += deal;
}
Expand Down
2 changes: 1 addition & 1 deletion update.groovy
Expand Up @@ -21,6 +21,6 @@ files.each {
fw.flush();
fw.close();

Runtime.runtime.exec(["sh", "-c", "scp -r * buildandtest.com:/opt/sites/datatables"].toArray(new String[0]));
Runtime.runtime.exec(["sh", "-c", "scp -r * sam@buildandtest.com:/opt/sites/datatables"].toArray(new String[0]));


0 comments on commit 7c8f107

Please sign in to comment.