Guild Craft

82 - Forum phpExport

What is the enhancement in mind? How should it look and feel?

Any way to parse information  into a file  or read from file  to be able to post information on website   

i.e  

char1   can craft  <recipe>

User When Change
OrionShock Sun, 21 Jun 2009 00:18:02 Changed component from None to phpExport
OrionShock Fri, 19 Jun 2009 09:06:53 Changed status from New to Started
OrionShock Fri, 05 Jun 2009 08:14:18 Changed name from Guildcraft Parse to Forum phpExport

Changed description:
  What is the enhancement in mind? How should it look and feel?

- any way to parse information  into a file  or read from file  to be able to post information on website
+ Any way to parse information  into a file  or read from file  to be able to post information on website
-
-
  i.e
sk8aelf Tue, 31 Mar 2009 20:40:07 Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of OrionShock OrionShock Fri, 22 May 2009 10:07:17

    check out r291 see how that fits, if so then i'll work on formats and presentation.

    atm i need a viable way of parsing the db and making sure you can export it in a sane manner.

  • Avatar of OrionShock OrionShock Fri, 22 May 2009 05:15:48

    @Choc, Interesting... i'll take another jab at it see if it's fubaring something.
     -Also note that i ran into a 50,000 char limit when doing testing myself, so what you could be seeing is the seperator i put in doing weird things wtih the scroll frame.
     -The current "Export All" function is just something I threw togeather as an example or a start point.
     -As for sorting by Xpack, prolly not going to happen. Bout the only way i see this happening is if the spell id's are sequenced to where given a range describes what xpack it is from w/o error
     -Also The link you provided is in german and i don't have access to it :( screenshots work too :)

    @Silentium83
    -Ya the char limit break is a horrible hack. Strings this long are a bitch to work with.
    -Profession at a time Export is comming.
     --You have promted me to use a different method for this altogeather that will fix the post break issue to.
    +I'll note your method of formatting and think about it. Trying to make it versitile yet with out bloat is going to be interesting.

  • Avatar of Silentium83 Silentium83 Thu, 21 May 2009 21:31:29

    I'm not responsible for guild's forum, but back when our forum was set up I gave the two links below to our admin and he made it work.

    http://www.wowhead.com/?forums&topic=3464#p37204 and http://www.wowhead.com/?forums&topic=3464.3#p42858

  • Avatar of guido666 guido666 Thu, 21 May 2009 15:31:14

    What phpBB addon are you guys using to support the [item] BBCodes?

  • Avatar of Silentium83 Silentium83 Mon, 18 May 2009 21:41:12

    First of all, nice to see this is actually being worked on - thank you!

    It seems you are trying to break up the paste-able text into blocks of 48000 characters each to not being hit by the cap of usual pbpBB installations, which is a good idea. But it results in text like this:

    Quote:
    [item]Masterwork Stormhammer[/item]	Silentium
    [ite
    
    
    ----Post Break Here @ 48,000 chars----
    
    
    ce, Svante, Nickwo, Ragnhild, Silentium, Halfas
    [item]Golden Scale Cuirass[/item]	Dace, Svante, Nickwo, Ragnhild, Silentium, Halfas
    

    It looks like the post break line overwrites regular exported data instead of being inserted in-between. It would also be nice if these breaks could be added at the last line break before the character cap instead of in the middle of a line.

    On top of that, it seems the export text is hard capped at something around 100000 characters. (PhpBB complains about 99999 characters, my text editor says it's a total of 101141.) Everything after that is cut off.

    I suggest changing the export feature so that it only exports one selectable profession at a time (maybe with a dropdown menu like in the GC browser), which results in a much shorter list that is less likely to reach a cap. This would also reduce the time needed to create the export string, reducing the danger of being disconnected by the server.

    Concerning the format of the exported text: I vote against a separate line per crafter per recipe since that results in extremely long posts, especially if you got several "hardcore recipe collector" players in the guild. I already posted my suggestion of formatting the post in my older ticket, here is a slightly improved version:

    Quote:
    [b]Cooking[/b]
    [list]
    [*][item]Delicious Chocolate Cake[/item] - [url=http://www.wowhead.com/?spell=43779]Cooking: Delicious Chocolate Cake[/url]: PlayerA, PlayerB
    [*][item]Thistle Tea[/item] - [url=http://www.wowhead.com/?spell=9513]Cooking: Thistle Tea[/url]: RogueA, RogueB
    [/list]
    

    This would be parsed like this (further improved with Wowhead's coloring and tooltips):

    Quote:

    Cooking

    Please note the colon to visibly separate the item and spell links from the list of players. Adding Wowhead links to the crafting spells has the advantage that you can quickly see all required materials in the link tooltip if your forum uses the usual way of embedding Wowhead links. Unfortunately I cannot provide an example link to our forum's tradeskill section since it is only visible to guild members.

  • Avatar of Choc Choc Sun, 17 May 2009 07:27:39

    Error after the Post Break:

    [item]Jagged Seaspray Emerald[/item]	Lens
    [item]Enchanted Pearl[/item]	Rosalina, Lens, Machplatt, Carda
    [item]Opaque Forest Emerald[/item]	Ros
    
    
    ----Post Break Here @ 48,000 chars----
    
    
    g[/item]	Choc
    [item]Arcanite Dragonling[/item]	Choc
    [item]Bloodvine Goggles[/item]	Choc
    [item]Compact Harvest Reaper Kit[/item]	Choc
    

    It stopts to post the items from the jewelcrafters and after that there is missing the ingenieur stuff.

    Another sugestion is the (temporary?) layout. First i would prefer a more sortet way like alphabeticel and/or seperatet for Vanilla, BC and WotLK.

    Second i have a simple example how i have done this in our guild forum:

    [item]Swift Skyfire Diamond[/item]
    [list]
    [*]Mathuun
    [*]Frostmoon
    [*]Akatosh
    [*]Telchiba
    [*]Manifest
    [/list]
    [item]Destructive Skyfire Diamond[/item]
    [list]
    [*]Manifest
    [/list]
    

    How this looks like in a forum u can see here: http://www.adsgilde.de/viewtopic.php?p=27463#27463

  • Avatar of OrionShock OrionShock Sat, 16 May 2009 22:39:59

    http://wow.curseforge.com/projects/guildcraft/files/365-r285/

    Has the first phase of including this feature. More methods to come.

    On a Personal Note: I don't use this feature, I don't have a need for it, Therefore I cannot develop this part with out feedback from those that do. I need the tags and example layouts that I can use as templates.

  • Avatar of OrionShock OrionShock Thu, 07 May 2009 07:14:14

    this has been added in the alphas.. tho i have the zips turned off till i can make a proper interface for it.

  • Avatar of OrionShock OrionShock Wed, 29 Apr 2009 22:36:12

    Im going to need examples and tags, tbh i don't know all the standard ones or the formatting you want them in. There are many ways... please post examples and the tags that created them.

    Attach as files please :)

  • Avatar of Choc Choc Wed, 29 Apr 2009 14:05:00

    I support this idea. phpBB format would be a very nice addition to this great addon.

Facts

Last updated on
21 Jun 2009
Reported on
31 Mar 2009
Status
Started - Work on this issue has begun.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Component
phpExport

Reported by

Possible assignees

Votes (Total: +15, Average: +3.0)