List Info

Thread: Beginner question




Beginner question
user name
2006-08-31 07:23:46

Blojsom people,

I am installing blojsom on machine (localhost) for the sole purpose of getting to know how to install a blogger from the technical end, and how to use one, from the users' point of view. ; I'd freely confess to not knowing a great deal about either as yet.  Deployment is not on my mind.

I'm probably at that really early stage of learning when I don't quite know enough about what I talking about the ask a sensible question.  So I hope you'll forgive me … here goes:

(a) I have been able to add several blogs in addition to "default".  Default, however, is the only one which comes up as a graphically pleasing, menu driven system.  I can administer the others, but it's very boring "flat" html. ; How do I change this (what, in another system, I might call a theme)

(b) I haven't quite got a handle on what the "flavour" is; is it the blojsom equivalent of a theme, or what?

If someone could point me in the right place with the above, I would greatly appreciate it.

Thanks,


Beginner question
user name
2006-08-31 13:29:58
Paul,

I'll answer the flavor question.  The flavor is NOT a theme.  The flavor is more like the processing that the blog will do for you.  For instance, admin is a flavor that, if you request it (http request), the blog will do the processing of your blog as per administrative usage, and it will even present that data to you via a different set of user interfaces ( pages ).  The other flavor, the default flavor, is the one where you just want to read the blog. ; This default flavor initiates a whole separate set of processing and presents the resultant data via a different set of user interfaces pages. 

I don't know how much configuration files you've looked at, but if you look at some of these this will make sense.  The "processing"; I'm talking about occurs at the hands of "plug-ins".  They are called plugins because they can be switched in and out of the processing chain, according to the requirements of the flavor being requested.  Some of the configuration files actually declare chains of plugins associated with flavor names.  I can't recall the name of this file, but its in the user's local directory -- in other words, this is osmething that can be configured per user. ; Other flavors include such things as RSS versions of the blog. ; I don't know if you know what RSS is, but this flavor processes the blog and the output is an XML file.

Hope this helps,
Chad

On 8/31/06, Dr Paul Chandler <yvg.vic.edu.au">paul.chandleryvg.vic.edu.au> wrote:

Blojsom people,

I am installing blojsom on machine (localhost) for the sole purpose of getting to know how to install a blogger from the technical end, and how to use one, from the users' point of view. ; I'd freely confess to not knowing a great deal about either as yet.  Deployment is not on my mind.

I'm probably at that really early stage of learning when I don't quite know enough about what I talking about the ask a sensible question.&nbsp; So I hope you'll forgive me … here goes:

(a) I have been able to add several blogs in addition to "default".&nbsp; Default, however, is the only one which comes up as a graphically pleasing, menu driven system.&nbsp; I can administer the others, but it's very boring "flat" html. ; How do I change this (what, in another system, I might call a theme)

(b) I haven't quite got a handle on what the "flavour" is; is it the blojsom equivalent of a theme, or what?

If someone could point me in the right place with the above, I would greatly appreciate it.

Thanks,


DISCLAIMER:

This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed.

If you have received this email in error, please notify the sender immediately by return email and then delete this message.

Any views expressed in this email are those of the individual sender and may not necessarily reflect the views of Yarra Valley Grammar.

YVG Mail security - Checked

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&bid=263057&dat=121642

_______________________________________________
Blojsom-users mailing list
lists.sourceforge.net"> Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users



Beginner question
user name
2006-08-31 14:38:00
What version of blojsom are you running?

Re: a) Are you referring to the administration console? After you’ve created the additional blogs, do you not see the proper formatted HTML in the administration console as in <http://wiki.blojsom.com/wiki/display/blojsom/Screenshots>?

Or after you’ve created the additional blogs, do you not see styled blog homepage when you try and load http://your.site.com/blojsom/blog/(blog-id)?

And you’ve created the blogs through the administration console, correct?

Re: b) The flavor refers to how you would like to see your blog. Flavors are defined by 1) a template that is used to present information back to the browser or newsreader and 2) a specific set of plugins that are executed per flavor. In blojsom 2, you’ll find a file called flavor.properties in /WEB-INF/(blog-id) that contains lines such as:

html=asual.vm, text/html;charset=UTF-8
rss2=rss2.vm, text/xml;charset=UTF-8

There is also a file called plugin.properties that contains lines such as:

blojsom-plugin-chain=conditional-get, meta, limiter, nofollow, rss-enclosure
html.blojsom-plugin-chain=meta, tag-cloud, date-format, referer-log, calendar-gui, calendar-filter, comment, trackback, simple-search, limiter, emoticons, macro-expansion, days-since-posted, word-count, simple-obfuscation, nofollow, rss-enclosure, technorati-tags

Blojsom uses information in the flavor configuration file to decide which template to use when a particular flavor is requested. There is the notion of a default flavor so that if no flavor is explicitly requested, this flavor is used and blojsom will use the configured template for that flavor. In the above example, for the HTML flavor, blojsom will use the asual.vm template file the blog’;s templates directory. The other information is used to send the proper content type back to the browser.

Blojsom uses information in the plugin configuration file to decide which plugins to execute, and in which order to execute them, when a particular flavor is requested. There is the notion of a default plugin chain so that if there is no explicit override for plugins for a requested flavor, blojsom will execute the default plugin chain̵7;s plugins. In the above example, for the HTML flavor, blojsom will execute the meta plugin followed by the tag cloud plugin, and so on. It does this after it had loaded the categories and entries for the request so that the plugins can do any processing on the entries, if need be. In the above example, for any flavor other than HTML, blojsom will execute the default plugin chain.

Themes in blojsom are really nothing more than a collection of templates and associated resource files (such as images or CSS).

On 8/31/06 3:23 AM, "Dr Paul Chandler&quot; <paul.chandlerYVG.vic.edu.au> wrote:

Blojsom people,

I am installing blojsom on machine (localhost) for the sole purpose of getting to know how to install a blogger from the technical end, and how to use one, from the users' point of view.  I'd freely confess to not knowing a great deal about either as yet.  Deployment is not on my mind.

I'm probably at that really early stage of learning when I don't quite know enough about what I talking about the ask a sensible question.  So I hope you'll forgive me … here goes:

(a) I have been able to add several blogs in addition to "default".  Default, however, is the only one which comes up as a graphically pleasing, menu driven system.  I can administer the others, but it's very boring "flat" html.  How do I change this (what, in another system, I might call a theme)

(b) I haven't quite got a handle on what the "flavour" is; is it the blojsom equivalent of a theme, or what?

If someone could point me in the right place with the above, I would greatly appreciate it.

Thanks,


DISCLAIMER:

This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed.

If you have received this email in error, please notify the sender immediately by return email and then delete this message.

Any views expressed in this email are those of the individual sender and may not necessarily reflect the views of Yarra Valley Grammar.
YVG Mail security - Checked



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&;kid=120709&bid=263057&dat=121642

_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users


--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )