Opera 6 introduces the concept of panels, which for those that don't use it, is like channels but that the content is not pushed; it's actually just a straightforward web page that may or may not be updated via REFRESH, and designed for a narrow page display. For example, Slashdot already has a panel that lists the current front page items, and provides a quick search box.

I think that a similar panel would work for PM: a listing of nodes on the frontpage (from a user-less POV), and a search option, possibly SuperSearch as well. Refresh maybe every 15 minutes or so. (It would also be nice to see Perl.com and other sites use this, but I'll focus on the small things first :-) While I certainly could write the code and set up the panel from my own server for my own use, I think there's enough possible interest to have this be done on PM directly.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

  • Comment on PM Frontpage Panel for Opera (and others?)

Replies are listed 'Best First'.
Re: PM Frontpage Panel for Opera (and others?)
by OeufMayo (Curate) on Dec 04, 2001 at 01:24 UTC

    Heh, that was the first thing I did when Opera 6 was released! :)

    Basically, I grab the Newest Nodes XML ticker, munge it with a XSL stylesheet (with xsltproc, from the GnomeXML lib) to make it look like a clean RDF, and feed it to Opera's panel displayer. I update the page every 15mn or so.

    If I remember correctly, there was only a problem with namespacess in the XML output by PM which prevented it to be directly understood by Opera's panel displayer.

    Crontab entry
    /usr/bin/lynx -source \ http://www.perlmonks.org/index.pl?node=newest%20nodes%20xml%20generato +r | \ /usr/bin/xsltproc /usr/local/apache/htdocs/stylesheets/headline.xsl - +\ >/usr/local/apache/htdocs/headline.rdf
    The headline.xsl stylesheet

    It's a quick hack, and probably not the best way to do it.

    <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="NODE"> <xsl:if test="position() &lt; 22"><!-- position() is weird --> <item> <link><xsl:text>http://www.perlmonks.org/?node_id=</xsl:text>< +xsl:value-of select="@node_id" /></link> <title><xsl:value-of select="." /></title> </item> </xsl:if> </xsl:template> <xsl:template match="/"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/"> <channel> <title>Perl Monks</title> <link>http://perlmonks.org/</link> <description>Your site for all that is Perl</description> </channel> <image> <title>Perl Monks</title> <url>http://perlmonks.org/images/perlmonkssm.gif</url> <link>http://perlmonks.org/</link> </image> <xsl:apply-templates/> </rdf:RDF> </xsl:template> <xsl:template match="INFO" /> <xsl:template match="AUTHOR" /> </xsl:stylesheet>
    Opera's Panel
    Opera's panel display
    <kbd>--
    my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>
OT Opera6 linux fixes
by stefp (Vicar) on Dec 05, 2001 at 00:55 UTC
    I note that OperaShow, a full screen mode to use opera as a slide presentation tool, now works on linux too. This relies on media modal features of CSS.
    Also the infamous bug in forms textareas that added ^M is now fixed. So that code submitters in PM won't see anymore blanks lines between their lines of code.
    An oddity, the search feature on domain gives more results on Windoze. It proposes alternative TLDs or variations of the searched name. Type d perlmonks in the address field to check out. Anyway this is a cute way to add domain name selling to their business.

    -- stefp