From f53fff9a7bde13083f53bda6eae2684093149d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Morschh=C3=A4user?= Date: Sun, 21 Apr 2013 18:31:23 +0200 Subject: [PATCH] create_sets_xml.sh now creates the correct header for sets.xml. --- doc/create_sets_xml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/create_sets_xml.sh b/doc/create_sets_xml.sh index c6cb6f19..14abd0e3 100755 --- a/doc/create_sets_xml.sh +++ b/doc/create_sets_xml.sh @@ -3,8 +3,8 @@ # Print the header echo '' echo '' -echo 'http://www.wizards.com/global/images/magic/general/%1.jpg' -echo 'http://gatherer.wizards.com/Pages/Search/Default.aspx?output=spoiler&method=text&set=["!longname!"]' +echo 'http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=!cardid!&type=card' +echo 'http://gatherer.wizards.com/Pages/Search/Default.aspx?output=spoiler&method=text&set=["!longname!"]&special=true' # Download the sets and print them in XML lynx -dump -source http://magiccards.info/sitemap.html |grep Gatecrash|sed 's/
  • @\t@g'|sed 's@\n\t\t"toupper($1)"\n\t\t"$2"\n\t"}'