Hello, jhabley:
Here it's your script, be aware of the word wrapping when copying
and pasting:
<MTEntries>
<$MTEntryTrackbackData$>
<MTDateHeader>
<$MTEntryDate format="%x"$>
</MTDateHeader>
<br>
<$MTEntryTitle$>
<$MTEntryBody$>
<MTEntryIfAllowComments>
<a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>"
onclick="OpenComments(this.href); return false">Comments
(<$MTEntryCommentCount$>)</a>
</MTEntryIfAllowComments>
<MTEntryIfAllowPings>
| <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>"
onclick="OpenTrackback(this.href); return false">TrackBack
(<$MTEntryTrackbackCount$>)</a>
</MTEntryIfAllowPings>
</MTEntries>
<br>
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
<a href="<$MTBlogURL$>index.rdf">Syndicate this site (XML)</a>
This is just a list of the blog entries with date, title, body text
(not extended text), a comment link and a trackback link if
applicable. After that, the monthly archive links and the link to
syndicate the site.
As always, request as many clarifications you want, also, I'm going to
be monitoring this question for 2 hours more, but if you need it, I
will be up until you need.
Regards. |
Request for Answer Clarification by
jhabley-ga
on
15 Oct 2003 13:08 PDT
LOL! Glad you grabbed this one. Let me plug it in and see how it works.
P.S. What country are you in?
|
Clarification of Answer by
joseleon-ga
on
15 Oct 2003 13:10 PDT
Hello, jhabley:
Ok, I'm here to see if you have any problem. I'm from Spain.
Regards.
|
Request for Answer Clarification by
jhabley-ga
on
15 Oct 2003 13:26 PDT
Thanks - it looks great. I've already started to tweak it -- this is a
great start.
I've noticed that after the ItemTitle and ItemBody, it forces two BRs
(probably a P, actually) and that I can't seem to prevent that from
happening. Is there a way to do this? I want the Body to come on the
line immediately under the title, without a blank line in between.
Seems to force one.
Also, the javascript clicks don't pop anything up. Should I have some
script up top?
P.S. I'm only going to use Comments -- decided to drop TrackBack.
|
Clarification of Answer by
joseleon-ga
on
15 Oct 2003 13:50 PDT
Hello, jhabley:
Yes, the space you see it's a <p>, you can prevent MovableType to
generate these breaks by setting up the convert line breaks option on
each entry, or globally changing then entry body tag to include the
convert_breaks attribute set to 0:
<$MTEntryBody convert_breaks="0"$>
After that, you have full control over the body.
Regarding the javascript, you need to add this code, sorry:
<script language="javascript" type="text/javascript">
function OpenComments (c) {
window.open(c,
'comments',
'width=480,height=480,scrollbars=yes,status=yes');
}
</script>
If you still want to add the trackback info, add also this function:
function OpenTrackback (c) {
window.open(c,
'trackback',
'width=480,height=480,scrollbars=yes,status=yes');
}
Regards.
|
Clarification of Answer by
joseleon-ga
on
15 Oct 2003 14:09 PDT
Hello, jhabley:
Are you generating the full site? The index.rdf exists? Maybe the
.rdf it's named different on your system.
Regards.
|
Request for Answer Clarification by
jhabley-ga
on
15 Oct 2003 14:46 PDT
I am rebuilding the full site, but I'm not sure where I specify the file name.
|
Request for Answer Clarification by
jhabley-ga
on
15 Oct 2003 14:48 PDT
I think I've found part of the problem.
Your code specifies:
<$MTBlogURL$>index.rdf
Which generates:
http://www.myserver.com/blogs/blogpage.htm/index.rdf
I should probably just have the filename by itself.
|
Clarification of Answer by
joseleon-ga
on
15 Oct 2003 15:13 PDT
Hello, jhabley:
That works on my system correctly, but if you want, you can remove
the <$MTBlogURL$> to point to just the file.
I'm going to sleep right now, I'll be back in 8 hours ;-)
Regards.
|