PDA

View Full Version : PHB scraping/parsing problem



davie36
November 8th, 2010, 13:47
hi all. ive managed to scrape and parse the MM and DMG without any problems. But the player handbook is giving me a load of problems..


eg when scrape is done and weapon file is made . it shows this


ZHead; Military;Melee
ZHead2; two-handed
ZWeap; Maul; +2; 2d6; ; 30 gp; 12 lb.; HammerPublished in <a href="https://www.wizards.com/default.asp?x=products/dndacc/217367200" target="_new">Player's Handbook 1, page;
ZHead; Simple;Melee
ZHead2; two-handed
ZWeap; Morningstar; +2; 1d10; ; 10 gp; 8 lb.; MacePublished in <a href="https://www.wizards.com/default.asp?x=products/dndacc/217367200" target="_new">Player's Handbook 1, page;
ZHead; Military;Melee
ZHead2; two-handed
ZWeap; Falchion; +3; 2d4; ; 25 gp; 7 lb.; Heavy bladePublished in <a href="https://www.wizards.com/default.asp?x=products/dndacc/217367200" target="_new">Player's Handbook 1, page; High Crit
ZHead; Improvised;Melee
ZHead2; one-handed
ZWeap; Unarmed attack; ; 1d4; ; — gp; — lb.; UnarmedPublished in <a href="https://www.wizards.com/default.asp?x=products/dndacc/217367200" target="_new">Player's Handbook 1, page;

it seems to be inserting/overwritting the links at the end of the ddi compendium into the middle of the ZWeap.

its doing this for most items and other stuff aswell.

any help/ideas most welcome

Tenian
November 8th, 2010, 17:15
Yes wotc decided to be ****wits and changed the way the useless published in blurb is presented in items

someoneinatree
November 9th, 2010, 00:16
Yeah I noticed this yesterday too. <a> tags all over the place with no closing /a.

davie36
November 10th, 2010, 10:28
ive downloaded the new parser ver 118

4.0.118
* General: Fixed the Familiar option to correctly toggle on and off based on the compendium

4.0.117
* Compendium: Fixed several issues with items that gained the useless "Published in " tag

4.0.116
* Compendium: Fixed Skill Power meta data

but when installed and run still shows itself as version 115 , with the same problems as before ..... help/advice or a BFH (for my comp :) )

davie36
November 11th, 2010, 08:55
and now ,the sun is shining ,birds are singing . and everything is working as it should :)