Go back
PGNs

PGNs

Help

Ragnorak
For RHP addons...

tinyurl.com/yssp6g

Joined
16 Mar 04
Moves
15013
Clock
05 May 04
Vote Up
Vote Down

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

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
06 May 04
Vote Up
Vote Down

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

Ragnorak
For RHP addons...

tinyurl.com/yssp6g

Joined
16 Mar 04
Moves
15013
Clock
06 May 04
Vote Up
Vote Down

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

Ragnorak
For RHP addons...

tinyurl.com/yssp6g

Joined
16 Mar 04
Moves
15013
Clock
06 May 04
Vote Up
Vote Down

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

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
06 May 04
Vote Up
Vote Down

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

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
06 May 04
Vote Up
Vote Down

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

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
06 May 04
Vote Up
Vote Down

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

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
06 May 04
Vote Up
Vote Down

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



Ragnorak
For RHP addons...

tinyurl.com/yssp6g

Joined
16 Mar 04
Moves
15013
Clock
06 May 04
Vote Up
Vote Down

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

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
06 May 04
Vote Up
Vote Down

Yes, this could be done. No problem with that.

-Russ

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17423
Clock
07 May 04
Vote Up
Vote Down

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

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.