You can also use IE to validate the correctness of the XML.
Printable View
You can also use IE to validate the correctness of the XML.
Right. I decided to hunt a bit more in the forums, downloaded Notepad++, and ran the XML "spellchecker".
Problem found and solved. No more blank library entries.
I have a DDI account and I have used the parser (which is awesome!).
My questions are these: I've "scraped" the players 1 hand book. When I try to parse it, it gets hung up on on "/r" characters. I went through the powers.txt file and did a search and replace for "/r" with " " (a space) and that worked find, and then parsed fine. But have I messed something up? What is the "/r" for and is removing it bad?
Also, when I do a scrape of the players hand book 1, I don't get regular equipment, regular armor, or regular weapons (I just get magical stuff). Where are they and how do I get them?
Lastly, I see refrences int eh forums and via google to some website called fourulgymonsters (or something close to that) website, but when I click links to the site, it appears that that site is gone. Is there a new site name?
I don't know if this matters but I am using windows 7 32 bit and version 2.7.1 of FG2
Hey, if you guys ever finished those modules for 3.4 about general content found in the books, or that drag and drop modifier module let me know. I have been looking for some of that content. :)
"/r" adds a newline. Removing them all will force all text blocks within powers to be displayed as a single block. Not ideal as some powers with multi-part descriptions benefit from having the newlines as it aids readability.Quote:
Originally Posted by Jundle
If the Parser is complaining its better to try an locate the specific instance thats causing the error rather than removing them all. Try parsing the Powers node only (right click the Powers/Feats/Features/Backgrounds Node and select Parse) and browse the outputed XML to see if you end up with any corrupted power entries, these are usually signified by powers which names include the other elements of the powers description i.e. extra long names.
If all is well with the DDI Compendium database then the parser should have generated armor.txt, equipment.txt, weapons.txt and magic.txt output files. These files should contain magicial and mundane items.Quote:
Originally Posted by Jundle
Note: The DDI Database was recently updated and some of the meta-data for the content changed causing referencing problems. Recent updates from the DDI service indicate the database will not be updated until October 2010 therefore it maybe sometime before your able to scrape again without problems.
I believe the FourUglyMonsters or FUM site has been down for the last day or so. No news that I have seen so far on any new site details.Quote:
Originally Posted by Jundle
It did create and armor, equipment, and weapons txt files, but they were 0 kb and nothing was in them (I have done this scrape a couple of times over the past few days to learn this process).Quote:
If all is well with the DDI Compendium database then the parser should have generated armor.txt, equipment.txt, weapons.txt and magic.txt output files. These files should contain magicial and mundane items.
Note: The DDI Database was recently updated and some of the meta-data for the content changed causing referencing problems. Recent updates from the DDI service indicate the database will not be updated until October 2010 therefore it maybe sometime before your able to scrape again without problems.
What I can do, though, is open the items up directly from the DDI. Is there a good smooth way to copy the info into FG2 from accessing the DDI website through my Web Browser (I.E. where all the formatting gets done for me mostly, and I'm jsut copying and pasting)?
Are you running the latest version of the Parser?
If not, download the latest version (v4.0.103) from here and try again.
I am running the latest version. I think your meta tagging comment is spot on. When I do a search (via the DDI web browser gui) for everything, then filter by playershandbook and weapon, I can't find battleaxe. but when i do a search for that specific key word, it comes up. So I'm guessing non magical items in the players hand book got fumbled up.
But would there be a way to do a copy and paste via the web site?
Also, when I look through the magic item table in FG2 (now that I've parsed my stuff from the PH1 into it), the "Enhancement" portion of the items doesn't show the "+(number)". Example: "Enhancement attack rolls and damage rolls" That was from "Magic Weapon +1" in the Magic Item Table. I assume that the formatting in the txt file is slightly off. Any suggestions on what I can do to adjust this?
I guess you could hand cut n paste the content you require into the Parser specific format (see the Parser Document.txt file that accompanies the Parser for syntax and description of the content format required). However this is a somewhat longwinded approach, still if your not prepared to wait until October it might be your only option at the moment.
In regards to the above, does anyone know what may be causing this and.or how to fix it?Quote:
when I look through the magic item table in FG2 (now that I've parsed my stuff from the PH1 into it), the "Enhancement" portion of the items doesn't show the "+(number)". Example: "Enhancement attack rolls and damage rolls" That was from "Magic Weapon +1" in the Magic Item Table. I assume that the formatting in the txt file is slightly off. Any suggestions on what I can do to adjust this?
The above should have said 'Example: "Enhancement attack rolls and damage rolls" which should have been "Enhancement +1 attack rolls and damage rolls"'Quote:
Example: "Enhancement attack rolls and damage rolls" That was from "Magic Weapon +1" in the Magic Item Table