Please turn on javascript in your browser to play chess.
Help Forum

Help Forum

  1. Standard member Ragnorak
    For RHP addons...
    05 May '04 23:18
    Hello to developers.

    Any chance of having an option to view ALL PGNs within the RHP website ala view PGN of single game.

    Basically my problem is I dial up, so I dial in a couple times a day, go to mygames, make a few moves and then get the remaining games sent to my email.

    Now my main problem is that I'm currentlt analysing on a pocket pc, and the email PGN format isn't recognised by the database software, due to not having a newline after each field (dunno if that's the right word?) eg... [Event Clan] [Site http://www.redhotpawn.com]
    The software needs it in this format...
    [Event Clan]
    [Site http://www.redhotpawn.com]

    which is the way the single game is displayed when u click on view Pgn/Fen. So this means I have to go through the text file and click after each ] and press enter. Not a massive problem, but I think it could be easily solved.

    I'm sure you (Russ?) already have nearly all the logic, and just need to have a View Games as well as a Send Games button within the Email my Games page.

    It would help loads,

    D
  2. Standard member thire
    Xebite
    06 May '04 09:27
    there are linebraeks in the pgn (look at the soucre code of the mail), but as your (and my) emailproggy shows the html code of the html mail (and as tehre are no "<br>" linebreaks) the pgn in the mail contains no linebraks.
    It would help very much to solve this problem.
    And: sometimes there are/were questionmarks in the mailed pgn, I think Russ knows it. Is this corrected or still happening sometimes?
    th
  3. Standard member Ragnorak
    For RHP addons...
    06 May '04 14:35
    Cheers for that.

    I had a look at the source code of the hotmail page, and all the games are in there in the proper notation, so I just copied from the source rather than the actual page.

    Sorted,

    D
  4. Standard member Ragnorak
    For RHP addons...
    06 May '04 14:37
    After looking at the text more closely, I spotted that there are <BR> in between each game, so I'm still going to have to do a bit of editing, but its not the end of the world.

    D
  5. Subscriber Russ
    RHP Code Monkey
    06 May '04 15:07
    Originally posted by thire
    there are linebraeks in the pgn (look at the soucre code of the mail), but as your (and my) emailproggy shows the html code of the html mail (and as tehre are no "<br>" linebreaks) the pgn in the mail contains no linebraks.
    It would help very much to solve this problem.
    And: sometimes there are/were questionmarks in the [b]mailed
    pgn, I think Russ knows it. Is this corrected or still happening sometimes?
    th[/b]
    The question marks were a general email problem.

    This is now resolved.

    -Russ
  6. Standard member thire
    Xebite
    06 May '04 15:08
    Originally posted by donallyne
    ...I spotted that there are <BR> in between each game, so I'm still going to have to do a bit of editing, but its not the end of the world.

    D
    I did not have a look at this, but here a little work around:
    paste the text in your favorite texteditor and go to something like Edit -&gt; Search / Replace and replace all &quot;&lt;br&gt;&quot; strings by &quot;&quot; (empty string) or &quot;\n&quot; (perhaps the texteditor can do that: change it to a new line.
    But anyway, I hope that Russ/chris reads this thread and thinks about it... 😵
    th
  7. Standard member thire
    Xebite
    06 May '04 15:09
    Originally posted by thire

    But anyway, I hope that Russ/chris reads this thread and thinks about it... 😵
    damn, I am too slow... :'(

    Russ, thank you!!! That's the way we know you: work work work, good work!! 😀 🙂 😀 🙂 😏 😏 😵
    th
  8. Subscriber Russ
    RHP Code Monkey
    06 May '04 16:21
    Originally posted by thire
    damn, I am too slow... :'(

    Russ, thank you!!! That's the way we know you: work work work, good work!! 😀 🙂 😀 🙂 😏 😏 😵
    th
    Ok, here is a solution.

    All RHP emails are now multipart - which means the text and the HTML versions are bundled up together - and your email client chooses which to render.

    So, if you use Outlook Express (and probably Outlook), you can do this :

    1) Right click the email.
    2) Click the details tab.
    3) Click the message source button.
    4) Scroll down and cut and paste the PGN with new lines in it.

    Not the perfect solution, but hey, it is a solution! You might even learn something about email headers!

    -Russ



  9. Standard member Ragnorak
    For RHP addons...
    06 May '04 18:18
    Russ,

    do you not think it would be worth having the &quot;view all games PGNs&quot; feature within the actual website. A lot of the time when I go into my hotmail, its just to get the PGNs so its not ideal. Having a page like the view pgn would be perfect?

    D
  10. Subscriber Russ
    RHP Code Monkey
    06 May '04 21:58
    Yes, this could be done. No problem with that.

    -Russ
  11. Standard member thire
    Xebite
    07 May '04 06:49
    Originally posted by donallyne
    do you not think it would be worth having the "view all games PGNs" feature within the actual website. A lot of the time when I go into my hotmail, its just to get the PGNs so its not ideal. Having a page like the view pgn would be perfect?
    or view all FENs?
    but then you have to know who (white or black) or you in which game...

    @Russ:
    I just do it that way (But I don't know much about email headers 🙄 )
    th