Bloggers - look here! Deal template
#1
Posted 2007-June-10, 15:51
I got a solution for you. And it is EASY! I have written a small script where you easily can get a unified-look on all your hand-layouts. At the moment, only a E-W are done as a test-script, but more will be made IF there is ANY interest.
Inquiry and all you others: please - do not let GUI stop you from writting squeeze technics, displaying an example hand in your bidding system or alike! Maybe this will help!
Examples:
Blogger example
Google page example
PS: currently not been able to hide the border around the iframe in IE. In Firefox, which IMHO is superior to IE, it looks perfect!
For those wondering:
the script is located at firmit.ifastnet.com/bbf. They host your files for free! And with php-support. That means that it is possible to write a dynamic script: generate the deal you actually want to show.
In your blog, you got the option of EDIT HTML - Here you insert an iframe which points to the location of the script.
Try out this link: http://firmit.ifastnet.com/bbf/hand_we.php...xx.AKxx.Axxxxxx. and edit the hand in the url.
e= is the hand in east, suits seperated by a dot. w=west - which has gotten a void in clubs in this link (note the last dot!). Try it out - change the hands the way you want.
#2
Posted 2007-June-10, 16:07
#3
Posted 2007-June-10, 16:33
- bidding
- fullhand layout
- onehand layout
- option layout W and N or S
Edit: THIS IS OUTDATED - see http://firmit.blogspot.com/
<p><iframe frameborder="0" style="border:none; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 350px; PADDING-TOP: 0px; HEIGHT: 110px" src="http://firmit.ifastnet.com/bbf/hand_we.php?e=KQJT3.543.QJ32.T&w=xxx.AKxx.Axx.xxx"></iframe></p>
This code in Blogger will get you startet!
Edit2:
As a side note, if you want to have more flexibility, you may generate the deal with the link alone, and copy the html into your blogg. More work maybe, but an option if the border in IE bothers you - or for any other reason.
This post has been edited by firmit: 2007-June-11, 15:01
#4
Posted 2007-June-10, 16:51
add in the <iframe frameborder="0" ... >
edit :
spacing removed
<iframe scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style=".....">
#5
Posted 2007-June-10, 17:14
<a href="http://firmit.ifastnet.com/bbf/hand_we.php?e=KQT6.75.AK753.52&w=AJ85.K6.QJT.AK65"></a>
and nothing was shown. What did I do wrong?
Never mind.. got it now....
Full hands please....
#6
Posted 2007-June-11, 09:14
#7
Posted 2007-June-11, 12:57
firmit, on Jun 11 2007, 10:14 AM, said:
I am struggling along, trying it out...
Got the one from yesteday workng. Going for the full hand, all I can get is W and N. Also on your page, I can't see the east hand (but if I cut and paste the text from your description into a browser, I get all four hands.
It looks like it is getting close, it is probably something I am doing. For instance, when I try to publish it, I get the following error message....
Your HTML cannot be accepted: Tag is broken: <iframe style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 166px; PADDING-TOP: 0px; HEIGHT: 133px" marginwidth="0" marginheight="0" src="http://firmit.ifastnet.com/v2/template_deal.php?deal=W:T987.AKQ.T32.732|654.T98765.AKQJ.|32.J.654.AKQJT98|AKQJ.654.987.654&vulnerable=2&seats="SN" frameborder="0" scrolling="no" > </iframe >
#8
Posted 2007-June-11, 13:55
edit: there is space in the ending tag: </iframe > . it should be </iframe>
PS: working on Auction
#9
Posted 2007-June-11, 14:39
A little tip. If you don't like the iframe - cut the url, and type it in a new window. Then view source, and copy the html including the tables ( but not the possible ad at the bottom)
If anyone got questions - pm me. If anyone plan to use this - let me know so I may see in action
#10
Posted 2007-June-11, 14:49
I still can not see EAST hands on your blog page. Can you see them?
The first auction is messed up too on your blog page when I look at it. I am not ignoring the font size of the webpage, and I can see all the other hansd, plus part of the SHDC symbols on the EAST seat/
Ben
#11
Posted 2007-June-11, 14:58
inquiry, on Jun 11 2007, 10:49 PM, said:
I still can not see EAST hands on your blog page. Can you see them?
The first auction is messed up too on your blog page when I look at it. I am not ignoring the font size of the webpage, and I can see all the other hansd, plus part of the SHDC symbols on the EAST seat/
Ben
Hmm - they seem to work fine from my computer(s) - in IE and firefox.
Anyone else got the same problem?
http://firmit.blogspot.com/
Edit: remember to set the SEATS=WE or WN or WS - or NOT the set the parameter at all. If left out - it shows entire layout.
#12
Posted 2007-June-11, 15:09
Here is a link
http://bboinquiry.blogspot.com/
I had the hand (all four) and the auction which displayed fine while editing the blog. But when I posted it, all the hands but WEST disappeared. Here is the text of the blog as posted.
-------------------------
<iframe style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 250px; PADDING-TOP: 0px; HEIGHT: 200px" marginwidth="0" marginheight="0" src="http://firmit.ifastnet.com/v2/template_deal.php?deal=W:T987.AKQ.T32.732654.T98765.AKQJ.32.J.654.AKQJT98AKQJ.654.987.654&vulnerable=2&seats=WSNE" frameborder="0" scrolling="no"></iframe>
By George, I may have got it....
<iframe style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 150px; PADDING-TOP: 0px; HEIGHT: 90px" marginwidth="0" marginheight="0" src="http://firmit.ifastnet.com/v2/template_auction.php?auction=W:p|1H|3C|3H|p|4H|p|p|p|X|p|p|p" frameborder="0" scrolling="no"></iframe>
North with a comfortable ZAR count, opens 1H, and WEST feels compelled to double with three trump tricks, but that is all he will get.
#13
Posted 2007-June-11, 15:17
Fixable! Each hand should have 13 cards - separated by a horizontal line " | ".
Edit: Thus: W:T987.AKQ.T32.732|654.T98765.AKQJ.|32.J.654.AKQJT98|AKQJ.654.987.654
#14
Posted 2007-June-11, 15:24
It is now posted.. and looks ok in my browser.
#15
Posted 2007-June-11, 15:27
inquiry, on Jun 11 2007, 11:24 PM, said:
It is now posted.. and looks ok in my browser.
Excellent! I can't fix that blogger eliminates the vertical lines ... maybe I can change the character to prevent it from being deleted.
#16
Posted 2007-June-12, 05:01
IMPORTANT: this is the old one! Will not be updated.
http://firmit.ifastnet.com
NEW SITE:
http://firmit.awardspace.com
Does everything for you - makes the iframe correct ( I hope ) and produce html code if you rather want to include that. Copy and paste!
Also the separation character for each hand in the deal tag, is now either "|" or "," (comma). Edit: the comma won't magicaly VANISH in Blogger when switching between Compose and Html edit.
The iframes are included in a div tag. If you include in the style of the div-tag the option "float: left;" you will get the text wrapped around the tables ( deal or auction ).
This post has been edited by firmit: 2007-June-12, 08:00
#17
Posted 2007-June-12, 05:17
This is a link to the test squeeze post using the templates.... http://bboinquiry.blogspot.com/
Thanks Firmit (I have been copying and paste the text and just changing the hand so far, so that maybe as quick as the template thing, but I will certainly give the template generator a try soon)
#18
Posted 2007-June-12, 07:31
For some reason, the template thing seems to add a slash at the end of EAST's hand from time to time. DONT go the compose page and edit it out, or you risk losing the entire thing (I cut and paste the html for the post).
Anyway, I think bloggers will find these tools very useful. I sure do. It is now easy to post stuff.
Oddly enough, IF YOU LEAVE OFF THE FINAL QUOTE WHEN ENTERING THE HAND, THE HTML CODE STILL WORKS AND YOU DON'T GET THE BACKSLASH.
#19
Posted 2007-June-12, 08:02
firmit.ifastnet.com will no longer be updated. I can't stand the fact that they try to push an ad at the end of each page.
Therefor - the new site is
firmit.awardspace.com - Here you will find the exactly the same as at ifastnet. If you have created a lot of iframes, please change the domain name from "ifastnet" to "awardspace" in the src="" in the iframes and the img="" for the html copies.
Edit: and it is faster!
Edit2: having some trouble with the images - I think awardspace are blocking them... they can't be fetched. However ifastnet works for the images... man, I picked two free webhosts that had one huge flaw each...but combined...
#20
Posted 2007-June-12, 13:10
Still hosting the generator at http://firmit.awardspace.com.
The images are now hosted at another site: http://photobucket.com/
This seems to work fine!
New feature:
For all you Bloggers - blogspot - I have created the CSS which can be copied and pasted into the TEMPLATE->EDIT HTML in the CSS section. This way, you only need to copy the BLOG-HTML when posting a hand. The auction will also be implemented shortly.

Help
