dailysudoku.com Forum Index dailysudoku.com
Discussion of Daily Sudoku puzzles
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Format and print puzzles from other sources
Goto page Previous  1, 2
 
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Site help
View previous topic :: View next topic  
Author Message
daj95376



Joined: 23 Aug 2008
Posts: 3855

PostPosted: Tue Nov 03, 2009 6:45 am    Post subject: Reply with quote

This should work with any Vanhegan puzzle.

Select the HTML version of the puzzle and then scan the HTML source, you'll find a line like this near the end:

Quote:
saveState( "clues", "-6---9----9524--86--85-691-8-9---62--3-----9--41---7-5-871-52--45--2816----9---5-" );

nataraj should be able to update his formatter so you can copy & paste the clues.
Back to top
View user's profile Send private message
ttt



Joined: 06 Dec 2008
Posts: 42
Location: vietnam

PostPosted: Tue Nov 10, 2009 5:57 am    Post subject: Reply with quote

storm_norm wrote:
the easiest way I know how to export the Vangegan puzzles is via Sudocue
sudocue finds the current daily puzzles posted on vangegan's site

and you can access them from sudocue's "file" menu
- OPEN WWW
-playr.co.uk
- then pick your difficulty level.



hopefully that was helpful.

Wow, I didn't know this before... Thank you very much!

ttt
Back to top
View user's profile Send private message
nataraj



Joined: 03 Aug 2007
Posts: 1029
Location: Vienna, Austria

PostPosted: Thu Nov 12, 2009 8:48 pm    Post subject: Reply with quote

daj95376 wrote:
This should work with any Vanhegan puzzle.

Select the HTML version of the puzzle and then scan the HTML source, you'll find a line like this near the end:

Quote:
saveState( "clues", "-6---9----9524--86--85-691-8-9---62--3-----9--41---7-5-871-52--45--2816----9---5-" );

nataraj should be able to update his formatter so you can copy & paste the clues.


That is a very simple and useful way to get at the data of those Vanhegans. Good idea, thanks, Danny!

I updated my program at nataraj.0catch.com - it should accept that source line now.


Nataraj
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pat



Joined: 23 Feb 2010
Posts: 165

PostPosted: Wed Oct 26, 2011 3:26 pm    Post subject: Reply with quote

nataraj wrote:

I've found a way to import puzzles from Menneske---The clues are separated by tabs

not today

each cell ( whether space or clue )
is followed by one space ( no tabs )

-- making 18-character lines

at least, that's what i get from Internet Explorer 8
Back to top
View user's profile Send private message
daj95376



Joined: 23 Aug 2008
Posts: 3855

PostPosted: Thu Oct 27, 2011 12:02 am    Post subject: Reply with quote

Pat wrote:
nataraj wrote:

I've found a way to import puzzles from Menneske---The clues are separated by tabs

not today

each cell ( whether space or clue )
is followed by one space ( no tabs )

-- making 18-character lines

at least, that's what i get from Internet Explorer 8

When I copy the table to my editor, there are tabs present ... and one other non-graphic character. I had my editor convert the latter character to a period. Here's an example.

Code:
..   ..   8    7    ..   3    5    ..   .
..   ..   5    ..   2    ..   1    ..   .
3    ..   ..   1    ..   5    ..   ..   6
7    ..   3    ..   1    ..   6    ..   9
..   2    ..   ..   ..   ..   ..   1    .
5    ..   1    ..   3    ..   7    ..   2
1    ..   ..   2    ..   8    ..   ..   3
..   ..   4    ..   7    ..   9    ..   .
..   ..   6    9    ..   4    2    ..   .

The tab characters are converted to spaces when I copy from my editor to the [ code ] field.

Regards, Danny
Back to top
View user's profile Send private message
Pat



Joined: 23 Feb 2010
Posts: 165

PostPosted: Fri Oct 28, 2011 8:17 am    Post subject: Reply with quote


    yes, i found a way to do it in 2 stages --

      paste into Excel

      then copy from Excel and
      paste this into Nataraj's tool
      ( Excel provides the tabs )
Back to top
View user's profile Send private message
Marty R.



Joined: 12 Feb 2006
Posts: 5123
Location: Rochester, NY, USA

PostPosted: Thu Jan 05, 2012 2:17 am    Post subject: Reply with quote

daj95376 wrote:
This should work with any Vanhegan puzzle.

Select the HTML version of the puzzle and then scan the HTML source, you'll find a line like this near the end:

Quote:
saveState( "clues", "-6---9----9524--86--85-691-8-9---62--3-----9--41---7-5-871-52--45--2816----9---5-" );

nataraj should be able to update his formatter so you can copy & paste the clues.

Danny, I clicked on the HTML version but don't know what to do next. I have no idea of what "scan the HTML source" means or how I'd do it.
Back to top
View user's profile Send private message
Pat



Joined: 23 Feb 2010
Posts: 165

PostPosted: Thu Jan 05, 2012 8:03 am    Post subject: re: puzzles from Gaby Vanhegan Reply with quote

Marty R. wrote:
I clicked on the HTML version but don't know what to do next -- I have no idea of what "scan the HTML source" means

  • menu -- View -- Source
  • now, find line saying saveState etc
  • copy that entire line, and paste it into Nataraj's tool
Back to top
View user's profile Send private message
Marty R.



Joined: 12 Feb 2006
Posts: 5123
Location: Rochester, NY, USA

PostPosted: Thu Jan 05, 2012 6:07 pm    Post subject: Reply with quote

Doesn't work for me. Does this work with Firefox? I click View and there's nothing that says Source. Don't worry, it's not a big deal. Thanks.
Back to top
View user's profile Send private message
daj95376



Joined: 23 Aug 2008
Posts: 3855

PostPosted: Thu Jan 05, 2012 11:24 pm    Post subject: Reply with quote

In Firefox, use ctrl+U to see the HTML page source.

It will open a separate window. After you've copied the puzzle information to the clipboard, close this window to return to the originating Firefox window.
Back to top
View user's profile Send private message
Marty R.



Joined: 12 Feb 2006
Posts: 5123
Location: Rochester, NY, USA

PostPosted: Fri Jan 06, 2012 12:53 am    Post subject: Reply with quote

Thanks, that did it. I was right-clicking on the print-ready puzzle and clicking the Page Source there. I got a similar window but couldn't find the puzzle string in that window.
Back to top
View user's profile Send private message
keith



Joined: 19 Sep 2005
Posts: 3150
Location: near Detroit, Michigan, USA

PostPosted: Wed Feb 20, 2013 8:40 pm    Post subject: Reply with quote

keith wrote:
Nataraj,

Did you ever solve the VanHegan puzzle format? I can see what it is, but it is not 9 rows of 9 digits each.

Anyone,

Can you export a text version of a VanHegan puzzle to another solver?

Keith

For the VanHegan puzzles at
http://www.playr.co.uk/sudoku/index.php

Display a puzzle. Go to (in Mozilla Firefox) "tools ... web developer ... page source".

Scroll down. You will find an 81-character string for the puzzle in a couple of places. Copy that string and paste it into Nataraj' puzzle formatter.

Click "Format" etc.

Keith
Back to top
View user's profile Send private message
Pat



Joined: 23 Feb 2010
Posts: 165

PostPosted: Thu Jun 06, 2013 8:29 am    Post subject: HSF (Helmut's Sudoku Formatter) Reply with quote

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Site help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group