logo

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.

Comments

    • avatar
    • Matt V
    • Wed 14 Aug 2002 12:12

    You're killer!

    • avatar
    • S L
    • Wed 14 Aug 2002 13:38

    Do mention to those Newsweek guys, how good Lotus Notes software is!

  1. We're proud of you!

    • avatar
    • Curious
    • Wed 14 Aug 2002 18:09

    Forget blogging. How about that article on SVG. Much more useful than who's interviewing who.

    • avatar
    • Paul P
    • Wed 14 Aug 2002 23:00

    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.

  2. Jake - how do you insert graphics when your blogs are just text fields - the good ol' A HREF=... perhaps?

  3. 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?

  4. 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

    • avatar
    • Jake
    • Thu 15 Aug 2002 04:25

    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

  5. The comments are response docs and are displayed in an embedded view at the bottom of your blog doc ?

    • avatar
    • Ruediger Seiffert
    • Thu 15 Aug 2002 04:59

    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?

    • avatar
    • Jake
    • Thu 15 Aug 2002 05:09

    But the response documents are added *in* the blog document. Note that you never see the response form/document ;o)

    • avatar
    • Jeffrey
    • Thu 15 Aug 2002 07:23

    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!

  6. 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.

    • avatar
    • Jake
    • Thu 15 Aug 2002 07:50

    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)

  7. I guess the real beauty is that you can add this as a subform onto pretty much anything for instant comments!

  8. 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

  9. Tsk, your DIV is a little wide ;)

    • avatar
    • Jake
    • Thu 15 Aug 2002 09:35

    It was that URL from Ingo. Which don't work anyway. Need to use []s and mark-it-up.

    • avatar
    • Jake
    • Thu 15 Aug 2002 10:05

    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.

  10. 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!

  11. 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...

    • avatar
    • Ingo Beyer
    • Fri 16 Aug 2002 01:23

    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

    • avatar
    • Steve
    • Mon 19 Aug 2002 13:44

    Just saw you as 'another' blog and wanted to check out your site.

    www.listendontspeak.com

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Wed 14 Aug 2002

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content