Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Bare PerlMonks, great for small devices

by tye (Cardinal)
on Mar 27, 2005 at 17:46 UTC ( #442659=monkdiscuss: print w/ replies, xml ) Need Help??

You can now visit /bare/?node=tye for a "just the content, Ma'am" PerlMonks experience (same as including ";style=bare" in the URL except that links on the page stay within the "bare" style).

Some particularly useful nodes when used with this style include /bare/?node=just_chat and /bare/?node=showchatmessages, which can make chatting via your cell phone work rather well.

Enjoy.

- tye        

Comment on Bare PerlMonks, great for small devices
Re: Bare PerlMonks, great for small devices
by b10m (Vicar) on Mar 27, 2005 at 18:35 UTC

    Ah! Now using linksboks is fun again ;) Thanx tye.

    --
    b10m

    All code is usually tested, but rarely trusted.
Re: Bare PerlMonks, great for small devices
by davido (Archbishop) on Mar 27, 2005 at 20:58 UTC

    Thanks tye. This is great. Time to dust off the Zaurus PDA once again. ...and now I can browse from the cell phone in a way that minimizes per-kilobyte charges. Good job.

    Not sure if it's just my use of the Dark theme, but followups cannot be read unless you click directly on their title.


    Dave

      It doesn't output the pre-amble CSS (user CSS and links to the style sheets). I'm a bit reluctant to add so much extra data to a format meant for use on devices that might object (my phone already complains "too large" for some things). (Update) It also doesn't output some enclosing table(s). The former is probably (I haven't investigated, but you should feel free to) why the text color was not changed to a light color and the latter is probably why you can read the main node (because it avoids changing the background color to black).

      style=bare has been supported for a long time and I've used it some for quite a while (it was just inconvenient). Now that I'm using it much more, I've already got several plans for it. I'd like each "bare" page to end (or begin) with just one link to a navigation menu. I'm thinking this link will take you to a list of nodelet titles and you click on the title of the nodelet you want to see. We might even eventually make this smart enough so that selecting the "approval nodelet" (for example) would make the nodelet act as if you are viewing it on the node that you clicked from.

      I'd also like the "bare" style to display much less depth in threads (like text one reply deep and just titles two replies deep).

      We also need an alternate format for Message Inbox that doesn't use a table (I also wanted it to not use a <form>, but the items that motivated that desire have disappeared so I may change my mind -- but I still somewhat like the idea of just listing a few messages, each with a link that takes you to a page for just that message that shows all of the details and that contains a link to "archive", a link to "delete", and a form to reply at the end).

      It'd be cool if Recently Active Threads would default to showing only the root and the most recent reply per thread if style is "bare" (which is also the style I'd use most with it, even when not "bare") and if Newest Nodes would skip all but the top few "Newest Notes" (and it still needs to separate new notes between those in new threads and those in old threads).

      - tye        

        It'd be cool if Recently Active Threads would default to showing only the root and the most recent reply per thread if style is "bare"

        If you can expand on what you want a little then ill do a patch for you. You only want the root and the absolute most recent post that is a descendent of that root?

        Also how can I tell if the page is displaytype=bare? Is there a variable set somewhere that Ive forgotten or never encountered?

        ---
        demerphq

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://442659]
Approved by ww
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-09-16 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (9 votes), past polls