To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 358
357  |  359
Subject: 
Re: List of articles taking longer to render
Newsgroups: 
lugnet.admin.general
Date: 
Thu, 15 Oct 1998 11:07:36 GMT
Viewed: 
648 times
  
sarah@eskimo.com (Perhaps a Princess....) writes:

I guess basically I want a full news reader over the web interface :-)...

Todd, you need something like Cold Fusion -- that creates these web
pages on the fly, methinks!

Most pages here on the server actually are generated on-the-fly...  It just
doesn't always show the .cgi extenion.

The server uses a system called PML ("Perl Markup Language") which blends
HTML and Perl, so things can be written like this:

    ...
    «my $msgid = $art->Header('Message-ID')»
    «my $tree = LUGNET::News::Thread::ThreadTree($msgid)»

    «if ($tree && ($tree->{PARENT} || $tree->{CHILD}))»
      <BR><SMALL>Messages in this thread:</SMALL><BR><BR>
      «LUGNET::News::Thread::PrintHtmlThreadTree($msgid, $tree)»<BR>
    «/if»
    ...

It's pretty fast to assemble components and new dynamic web pages this way,
and lots of fun too.

Larry, would it be useful to you if a the big list were chopped into smaller
lists -- displaying, say, a couple dozen articles on each page, with
forward/backward between the pages -- ?

--Todd


(Though Cold Fusion is for NT servers and ODBC databases)

Sarah
sarah@eskimo.com




Message has 2 Replies:
  Re: List of articles taking longer to render
 
Todd Lehman writes: snip (...) Todd, In looking at the source for the page I see that the article list is one big table. In my experience a browser will not display any rows of a table until it has received all rows and the end table tag. I built a (...) (26 years ago, 15-Oct-98, to lugnet.admin.general)
  Re: List of articles taking longer to render
 
(...) I see you DID go ahead and do this, and I think it works well. Thanks! Reducing the font size helps a lot as well. -Lar ======== Posted via the LUGNET discussion group web interface ======== (URL) Search, Read, Post, or Watch Traffic (26 years ago, 15-Oct-98, to lugnet.admin.general)

Message is in Reply To:
  Re: List of articles taking longer to render
 
(...) Todd, you need something like Cold Fusion -- that creates these web pages on the fly, methinks! (Though Cold Fusion is for NT servers and ODBC databases) Sarah sarah@eskimo.com (26 years ago, 15-Oct-98, to lugnet.admin.general)

6 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR