| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		daj95376
 
 
  Joined: 23 Aug 2008 Posts: 3854
 
  | 
		
			
				 Posted: Tue Nov 03, 2009 6:45 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		ttt
 
 
  Joined: 06 Dec 2008 Posts: 42 Location: vietnam
  | 
		
			
				 Posted: Tue Nov 10, 2009 5:57 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		nataraj
 
 
  Joined: 03 Aug 2007 Posts: 1048 Location: near Vienna, Austria
  | 
		
			
				 Posted: Thu Nov 12, 2009 8:48 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		Pat
 
 
  Joined: 23 Feb 2010 Posts: 207
 
  | 
		
			
				 Posted: Wed Oct 26, 2011 3:26 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		daj95376
 
 
  Joined: 23 Aug 2008 Posts: 3854
 
  | 
		
			
				 Posted: Thu Oct 27, 2011 12:02 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		Pat
 
 
  Joined: 23 Feb 2010 Posts: 207
 
  | 
		
			
				 Posted: Fri Oct 28, 2011 8:17 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				
 
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 | 
		 | 
	
	
		  | 
	
	
		Marty R.
 
 
  Joined: 12 Feb 2006 Posts: 5770 Location: Rochester, NY, USA
  | 
		
			
				 Posted: Thu Jan 05, 2012 2:17 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		Pat
 
 
  Joined: 23 Feb 2010 Posts: 207
 
  | 
		
			
				 Posted: Thu Jan 05, 2012 8:03 am    Post subject: re: puzzles from Gaby Vanhegan | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		Marty R.
 
 
  Joined: 12 Feb 2006 Posts: 5770 Location: Rochester, NY, USA
  | 
		
			
				 Posted: Thu Jan 05, 2012 6:07 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| 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 | 
		 | 
	
	
		  | 
	
	
		daj95376
 
 
  Joined: 23 Aug 2008 Posts: 3854
 
  | 
		
			
				 Posted: Thu Jan 05, 2012 11:24 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		Marty R.
 
 
  Joined: 12 Feb 2006 Posts: 5770 Location: Rochester, NY, USA
  | 
		
			
				 Posted: Fri Jan 06, 2012 12:53 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| 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 | 
		 | 
	
	
		  | 
	
	
		keith
 
 
  Joined: 19 Sep 2005 Posts: 3355 Location: near Detroit, Michigan, USA
  | 
		
			
				 Posted: Wed Feb 20, 2013 8:40 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | 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 | 
		 | 
	
	
		  | 
	
	
		Pat
 
 
  Joined: 23 Feb 2010 Posts: 207
 
  | 
		
			
				 Posted: Thu Jun 06, 2013 8:29 am    Post subject: HSF (Helmut's Sudoku Formatter) | 
				     | 
			 
			
				
  | 
			 
			
				
 
the old tool atnataraj.0catch.com/fmtsudoku.htm has been replaced by
 
(announced at t=6910)  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |