Splitting articles

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/11/2008 2:47:46 AM
Gravatar
Total Posts 33
www.jaosobne.cz
Windows Server 2008 R2
Microsoft SQL Server 2008
MojoPortal 2.3.6.2

Splitting articles

Hi, this could sound a little bit lame, but I could not found a way to do it and its not being used on Joes blog here too... I need to split the blog articles into parts: To have the first part on the main Blog page and then some kind of "Read more" link opening the article itself just like the article's title does. I simply don't want to have my title page messed with god knows how many long articles. Is there any way to do this in MP? Drupal uses its !--break-- tag, but I can not figure it out in here. Thank you very much.

9/11/2008 6:04:44 AM
Gravatar
Total Posts 18439

Re: Splitting articles

Hi,

The way I would do that is create the blog on its own page (not the home page). Then add an RSS Feed module to the home page and consume the feed from your blog into the  RSS module. There are a number of settings for the feed module to affect the display (click the gear icon next to module title for settings).

We have some recent improvements to the RSS Feed module in svn that will be included in the next release of mojoportal coming pretty soon. It has a new option for displaying only an excerpt of a specified length and a few other new settings for various display options.

Hope it helps,

Joe

9/11/2008 6:12:48 AM
Gravatar
Total Posts 18439

Re: Splitting articles

I just checked out your site, http://www.mujzune.cz/ , it looks very nice, good job on the skin design!

One thing I want to caution you about since I see you already have a lot of content in your blog. If you move your blog from the home page its going to break all the friendly urls for your blog posts and the friendly url for your feed, but you can fix them. For example your most recent post has the url "/video-zune-marketplace-a-virtualni-klavesnice.aspx" but this friendly url really maps to /BlogView.aspx?pageid=x&mid=y

Currently x = the pageid of the home page so if you move the blog to its own page those urls won't be valid. You can go into Administration Menu > Advanced Tools > Url Manager and find the url mappings and fix the pageid to match the new page.

There is also a friendly url for the feed /blog4rss.aspx that will also need a correction for the pageid after you move the blog.

Hope it helps,

Joe

9/11/2008 5:54:41 PM
Gravatar
Total Posts 33
www.jaosobne.cz
Windows Server 2008 R2
Microsoft SQL Server 2008
MojoPortal 2.3.6.2

Re: Splitting articles

Thanks for the advice. I tried it and it works, but currently has no way to shorten the feed excerpt. So I am going to wait for the new version. I even came up with a way to avoid correcting those links. I can set any other page to be mapped as the home page (Admin - Advanced tools - URL Manager) and put the RSS on it while keeping the blog where it is, right?

Yet still... It's like sratching the right ear with left hand... Maybe I could be waiting for article splitting to become a feature, couldn't I? :-)

9/12/2008 4:25:41 AM
Gravatar
Total Posts 18439

Re: Splitting articles

The Excerpt feature is already implemented in the RSS feature so it will be in the next release. We have short release cycles so you won't have to wait long. The next release will be sometime next week. If you are a developer and have VS 2008 you could get the latest code from svn trunk at any time and compile your own build instead of waiting for a release.

Yes good solution to preserve the link in the existing blog, make a new home page and put the feeds on it, keep the blog on its current page but move it in the hierarchy so its no longer the home page.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.