Forum OpenACS Q&A: Response to Getting current News items on Home Page!

Collapse
Posted by Gilbert Price on
This cutting and pasting is really tedious in Linux: here I go again,
my news and bboard chunks scripts look like this:

News:

<pre><%= [reiterate_through_chunk $db news "< a
href=""$news_link">$title< /a> ($pretty_release_date) - $title<
br>
"] %></pre>

Board:

<pre><%= [reiterate_through_chunk acs threads "< a
href=""$msg_id">$one_line< /a>< br>$count recent messages
in<br>$category< br>
"] %></pre>

My errors are:

<pre>[16/Sep/2001:17:25:54][2047.76805][-conn28-] Error: missing "
missing "
    while compiling
"ns_puts -nonewline  [reiterate_through_chunk $db news"
    invoked from within chunk: 0 of adp:
/var/lib/aolserver/servers/defaultacs/www/index2.adp
[16/Sep/2001:17:25:54][2047.76805][-conn28-] Error: missing "
missing "
    while compiling
"ns_puts -nonewline  [reiterate_through_chunk acs threads"
    invoked from within chunk: 1 of adp:
/var/lib/aolserver/servers/defaultacs/www/index2.adp
10.104.168.5 - - [16/Sep/2001:17:25:54 -0400] "GET /index2.adp
HTTP/1.1" 200 4941 "" "Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US;
0.7) Gecko/20010316"
10.104.168.5 - - [16/Sep/2001:17:25:54 -0400] "GET /css/gilprice.css
HTTP/1.1" 200 3054 "" "Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US;
0.7) Gecko/20010316"</pre>

<p>Thanks, now I think I got it all in...