Hi , Can anyone help me to implement blogging functionality in Teamsite 6.7 or 7.4.2. The integration is with Java.
Thanks a lot
This isn't the kind of feature that's enabled by just ticking a checkbox. You actually have to build this (or extend the sample provided by iwov).
Hi rpoulin ,
Thanks for reply, can you explain in brief, what approach should I follow for the same in 7.4.1. If I need to do coding in JAVA for the same.
Waiting for the suggestions.
Thanks
It's TeamSite, so there's probably 50 different ways you could do it. My approach would be to define a DCT to capture individual blog entries. Then, on your runtime, you have functionality that dynamically queries some repository of published blog entries. If you have LSDS/LSCS, that becomes a lot easier because you can create a component that calls LSCS and does exactly that.
Continuing with what Rpoulin posted...
Read-only blogs themselves are not difficult to implement. It is even easier with LSCS. The challenge comes in with a blog that allows for comments and responses etc...
Depending upon your business requirements (which includes how many blogs, frequency of new items, how automated you want it, responses...etc) you are looking at a project between a few hours to many weeks.
One thing to think about is, if you allow responses how do you prevent spam or attacks or inappropriate responses?
Sorry I'm not giving you any answers to your specific question, but your question is about as open ended as "how do I build a web site?"
Thanks everyone for the reply, Since I am not that expert of Teamsite do excuse me if I am asking wierd questions, commenting requirment is still not clear but if for now I want to just make this requirment using tpl only , In that case my question is:
1) I will make dct for individual blog entries, thus I will be having multiple dcrs for multiple blogs.----Done
2)Now will create a tpl for showing individual full blogs.----Done
3)Now if I want a page/TPL where I need some of the information from the dcrs(blogs) example all blogs Name+Little Description, how I need to proceed in that case. Should I call a simple java controller or there is some way in tpl through which we can get multiple DCRs information in tpl .---------Required
Please help me in that case.
Thanks a lot!!!!!!!!!!!
Since you are using TPLs I assume you are NOT licensed for and are not using LSDS/LSCS.
This requirement is almost trivial with the LiveSite suite. Using TPLs would require some form of an external "feed" to return either all the summaries in one feed or a list of all the files you want to include then open each blog DCR and get the summary from it.
It has been more than a decade since I've used TPLs to build pages so I'm not sure what functionality is available to you. But I believe within the TPL you can call out to a PERL (or Java?) module to return data to the TPL for presentation.
Good luck
bowker wrote: But I believe within the TPL you can call out to a PERL (or Java?) module to return data to the TPL for presentation.
But I believe within the TPL you can call out to a PERL (or Java?) module to return data to the TPL for presentation.
Whenever you generate a full blog entry page, that TPL should also call (via iwpt_include) the TPL that generates your index page. That index page TPL should use <iwpt_output> to write to the different target .html file. That index page will then probably want to use <iw_perl> tags to scan your DCR folder, sort by date (or other attribute), and then read each one of those DCRs to pull the required information. As bowker is implying, the technology is not the most efficient way of accomplishing the task, but it runs on the server side so performance is not so much an issue. If you do find that your preview from a DCR is too slow, you might have to move the hook from the iwpt_include to a workflow task instead.