Home > computer-related > continues_more

[japanese] [english]

continues_more - Split your article "continue" show plug-ins to achieve blosxom

DATE:2008/02/28
UPDATE:2008/02/28
WRITTEN BY chihiro at dream dot com

Introduction to what it is?

Blog articles have become longer in the middle of the article to "Read more ..." is displayed on the pages for full details can be displayed as a plug-in.

Blosxom introduction, when the blosxom SeeMore plugin is not found, so it makes. Reinventing the wheel. SeeMore plugin blosxom neighborhood is better known, so you use SeeMore plugin also recommended. (SeeMore used it is not ...)

Usage

These two please.

The installation method

pulgin installed dir placement of files to blosxom please. It's just available.

FAQ

Q) split view the full text if you want to change the display. How do I adjust?
A) "story function" in the following minutes if adjustments please.

"story function" in the following minutes, if the split decision of whether to go or more.
Two sources are written, but here the decision to adjust the formula, you can display a page out of control out.

Source code is provided with two types of tests, and the other to enable them.
Configuration options can be selected if I like it, making ridiculous.

These pattarn 1, the only full-page article appears separately.
Home, date, listed in categories such as a split view.

    ####################
    # if pattarn 1
    # if you want print fulltext at only single view
    # ("continues more" message show main list view, year/month/day, category)
    if ( $blosxom::path_info !~ /\.$blosxom::flavour$/ ) {
    ####################

These pattarn 2, Home (page list of articles) only division in the show date, the full text appears in a separate page.
This is the outside of the home, path information, $blosxom::path_info is set to work using the home page or otherwise have to determine.

    ####################
    # if pattarn 2
    # print "continues more" message at only main list view
    # if "not set" $blosxom::path_info , current page is top list page.
    # chop document by more tag.
    # if ( ! $blosxom::path_info ) {
    ####################

If applied to the above theory, a full-page display can be selected.

Q) "many "<!-- more -->" to write it.What happens?
A) The first line is more effective. Otherwise more will be ignored.

I mean, I can confirm that there has been ignored. (^o^)b

Q) just does not work
A) Unfortunately silently serve.

Only a simple function of the problem is difficult to wait. If a problem is encountered, if resolved, I encourage you to report to chihiro. Bug report is welcome.

Why reinvent the wheel

Blosxom introduction, when the blosxom SeeMore plugin is not found, so it makes. Reinventing the wheel.

SeeMore blosxom neighborhood is better known, so you use SeeMore plugin also recommended.
(SeeMore used it is not ...)

NO WARRANTY

"Software" and this license document, AS IS (as is) provided by the warranty of any kind. This includes the design, and products for specific purposes including compatibility.

Download

History revised edition

counter: can not open datafile