Fame at last
Here's a turn up for the books. Newsweek are calling tonight to interview me. They are writing about blogging and, as winner of this year's Blogathon, I must now appear to be an authority. Not sure if this is for their online publication or which country it's for but you can guarantee I'll let you know ;o)
Fitting then that this blog is becoming more like a blog every day. The observant amongst you will have noticed that you can now add comments to my posts. Still in the experimental phase and bound to change over the next week or so.
There are bound to be those wondering how I've implemented this feature. Here's a clue: no agents or rich-text fields, just fields, forms and views. So simple it hurts... anyway, I'm off to rehearse my know-it-all speach on blogging.
You're killer!
Do mention to those Newsweek guys, how good Lotus Notes software is!
We're proud of you!
Forget blogging. How about that article on SVG. Much more useful than who's interviewing who.
How about a text field called Blog with allow multiple values, value separator set to skip a line and a view which selects Blog documents and displays multiple values as separate entries and of course treats the contents as HTML?
This means that you will need to keep your paragraphs reasonably small - the grammar checker in Word would be happy.
Jake - how do you insert graphics when your blogs are just text fields - the good ol' A HREF=... perhaps?
AH - I wrote som halfway HTML there. What I meant was... Do you just write your IMG SRC manually and then have the images in a database... checking source... yup. Nothing fancy there then?
My blogs are also Notes documents, and as Jake says, it's very easy to do.
You hit the spot: of course you can have images in what are "just" text fields -- think pass-thru HTML!
I'll be sharing one nifty trick I found re easily placing image pass-thru in a Notes document soon.
B
http://www.benpoole.com
Paul P's close but what I am getting at is the funky way in which you add these replies. Anybody worked that out?
"Curious", you're just going to have to wait.
Jake
The comments are response docs and are displayed in an embedded view at the bottom of your blog doc ?
Let me try a guess:
You are using
a. Response documents
b. an embedded view with "show single category"
c. the view uses "self-made" simple html.
Right?
But the response documents are added *in* the blog document. Note that you never see the response form/document ;o)
Congrats, Jake! For all who have been using this site for a while now, it is cool to see how it has changed and where the site is taking you!
If we look at http://www.codestore.net/A55692/store.nsf/post
we can see the actual comments form.
I'd reckon that all we have here is some HTML inputs, and when the submit button is clicked it passes the values we enter to the post form (along with the UNID of the blog) and saves the comment as a response doc.
Then as stated an embedded view with a single category (he UNID) generates some HTML to finish the job.
Nice.
I'll try it out myself this evening.
Big-up Mr Bigg.
The key things you missed is that you need to use the end </form> trick and start a new one. The "post" button then does a document.forms[1].submit(). Also, the post form has a $$Return field that points back to the document that you were responding to. Magic ;o)
I guess the real beauty is that you can add this as a subform onto pretty much anything for instant comments!
Hi,
your trick is NOT new. Take a look at
link
The article "Anatomy of a Domino e-commerce Web site (Part 1)" describes a similar way for a search form.
Still a great site :)
Ingo
Tsk, your DIV is a little wide ;)
It was that URL from Ingo. Which don't work anyway. Need to use []s and mark-it-up.
Talking of that URL: I just downloaded that DB from the Sandbox. Should I be surprised that there is yet another (good practive?) template from Lotus where all the links are HARD-coded?! Probably not.
Did I miss something? Was Jake saying that his trick was NEW? It's just that most Domino sites out there generally don't do nifty things like this.
The stuff you can do with pass-thru HTML and $$Return etc. is actually quite cool. Big up for doing it!
Yea, it is indeed.
I started building my first Domino last Friday and I am extremely happy with how easy it has been to create a nice looking website with Domino.
Watch this space...
Sorry, for the misunderstanding. At first I thought how did this guy this. After a few moments I remembered the old article.
I checked the source code and found the same </Form> trick.
I did not want to depreciate someone. Jake is very helpful. This site site is still one of my first website to visit. I really like notestips.com too. There are a lot of smart Domino developer out there - just check more than one source. My hint was meant show the trick behind the mystery ... :-)
Ingo
Just saw you as 'another' blog and wanted to check out your site.
www.listendontspeak.com