Use ScribeFire to help post my blog entries
This should be a blog post from ScribeFire
I decided that posting to WordPress seemed a bit of a bind at times, uploading images, trying to do code snippets etc. So, this is a test o the ScribeFire plugin for FIrefox that should help.
[This is a picture from Flickr – on openFrameworks]
That image was just put into the stream by a Flickr search, but it could hjust as easily been from an iage on disk. It shows an image generatedusing OpenFrameworks, a C++ library that makes it easy for designers to create generative graphics. It’s cross platform and a lot of fun.
It might take a few seconds while the compile occurs.
Changed the namespace to http://xxxx.com/footy/webservices as recommended
Now need to add the database parts. We shall add an Oracle data class – OracleData. Because this is common code between several (maybe) pages, we should put it into a shared App_Code folder. We can also put in there the main service and reference that file in the asmx file.
Let’s try that piece of random code…
private void btnSelect_Click(object sender, EventArgs e)
Button b = (Button)sender;
if (btnSaveEntries.BackColor == RECORD)
// save the entries to a file
// turn off the save flag
// load back from the file
MessageBox.Show("File: " + b.Tag.ToString() + " not found");
It turns out that it doesn’t like blank lines in the code area. Was that ScribeFire or my WordPress styles. Whichever way, it stopped the code tag at that point. (I think this is wordpress)
Scribefire also adds a little tag at the end; looks like one of those single pxel image files of old, to count the number of times it is used no doubt. It could be taken out, but probably does no harm.
Much easier overall, but make sure you go into code mode before pasting in a piece of code. Otherwise it will fill up with   characters to do the spacing. I’m not sure the spacing is correct yet, but it’s a good start.