Camen Design Forum

NNF Request: Blog to forum

append delete NickPfen

I had an idea the other day that would be a nifty piece of coding art. First, the short background piece for relevancy: On Camen Design, at the end of each article in the footer section, Kroc has a link to the forums that say "discuss this in the forum."

The question: Is it possible to have that link, when clicked on, start a new thread in the forum that also inserts the title of the article from which the "discuss this in the forum" link was clicked? And, if the article already has a thread in the forum, then the forum link from the article just takes the user to the appropriate thread?

For example, if I'm reading this article : http://camendesign.com/code/splitscreen and at the end I want to discuss it in the forum, I click on the link "discuss this in the forum" and it creates a new thread with the title: Vertical Split Screen CSS Without Background Images. I write my forum post, enter name and password, and viola, forum post about article created.

However, if the thread is already created, then when I click the "discuss it in the forum" link, it automatically brings me to the appropriate thread.

Can this be done? And can it be done without javascript.

It's a nifty idea, but it's something beyond my programming capabilities.

- Nick

Reply RSS

Replies

append delete #1. Kroc

It's not necessary to do it that way around. Just add code to your blog engine so that when you publish a new entry, that code produces the new thread. Remember that all NNF threads are just RSS feeds -- meaning that NNF itself doesn't even have to create the feed, you could put any RSS feed into the forum and NNF would render it!

append delete #2. Jose Pedro Arvela

On a slight tangent, I just realized that this would actually make it incredibly easy to migrate from a blogging platform as, for example, Wordpress, to NNF by using the comments' RSS feed for each entry.

append delete #3. NickPfen

Thanks for your responses! @Jose, can you flesh out your idea so I can understand it better, ie. examples? Thanks!

@Kroc, thank you. The idea I had was to plug in my blog's rss feed into the forum, but then it would be redundant because I already have a feed for my blog. So, that leaves me with your idea - which is a good one. Anyone want to take a stab at producing this code or at least starting it? I assume it's php, which is something I'm not too creative with.

append delete #4. Kroc

It all depends on what blogging platform you are using; if you want it to automatically create a thread in a forum, then you need to modify its publishing code. This is not something I can do for you as I’m not familiar with any blogging software other than my own.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, theraje, Martijn