• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp11
r3wp212
total:223

results window for this page: [start: 12 end: 111]

world-name: r3wp

Group: Ann-Reply ... Reply to Announce group [web-public]
Henrik:
13-Jul-2006
well, it's nice to have MacOSX as a template for these things :-)
Henrik:
15-Apr-2008
Rapidweaver also has a bug in the template. It does not display the 
logo in the upper right hand corner.
Henrik:
17-Apr-2008
it looks to me as if he's creating some form of pseudo XML tags. 
my dialect looks like any other rebol code (yes, I care a lot about 
the appearance of the dialect), and I think his goal is more to be 
for template, where my dialect is not meant for templates at all. 
My goal is to describe webpages in as little code as possible in 
100% REBOL style.
Group: Core ... Discuss core issues [web-public]
Pekr:
10-Jan-2005
using sort/compare blk func [a b] [a/other/cz < b/other/cz], it will 
survive different location of 'cz field, as it cleverly uses path 
navigation. That is nice. I just wonder about different case ... 
let's say I have object templates, which change once per period of 
xy months ... I also have IOS, so lots of record synced around. My 
plan was, that each object would carry its version info. I wonder 
what to do in case, where new object template version will extend 
object structure, e.g. adding phone-num field ...
Gabriele:
23-Jan-2006
extract-object:
    func [source [object!] dest-template [block! object!]]

    [   if block? dest-template [dest-template: context dest-template]
        foreach word next first dest-template

        [   set in dest-template word get any [in source word 'none]]
        dest-template
    ]
Graham:
29-Jan-2006
can't you use the object as a template to create a new object with 
the new field and then copy it back again?
Gabriele:
16-May-2006
this header is sent as-is, except for a couple things such as setting 
To if you haven't set it (this is so you can have a header template 
and send many messages with it easily)
Joe:
22-May-2006
I am using this for message composition, templates, etc.. So imagine 
you have a template: "<html><head> title </head><body> body </body></html>" 
but with many more tags and then you have a large funtction emit-page 
that generates many tags and when you generate the page you want 
to make sure that you've generated all the tags and if you missed 
some then you get an error
Joe:
22-May-2006
I think the above explains the problem domain. Imagine pages with 
lots of tags and that you don't want to clutter the emit-page function 
with lots of template variables neither want to compose the function 
given that if is a normal function where you do have other normal 
local variables. I am looking for ideas on how to approach this
Joe:
22-May-2006
I want the easiest possible approach i.e. you create an html file 
and define the tags like in the example above template:
Anton:
22-May-2006
Or wait... you want a context to keep all your template variables 
in:
	template: context [title: introduction: cost: none]
then unset all the variable in the template:
	unset bind next first template template

Your function references words in the template and receives an error 
for the first one which is unset.
	f: func [template][do bind [?? title] template]
	f template
	** Script Error: title has no value
	** Where: ??
	** Near: mold name: get name
but works fine when they have values:
	template/title: "hello"
	f template
	; ==> title: "hello"
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public]
Volker:
24-Aug-2006
have run repack-core.r, then call "explorer .", double-click %qml-ed.r, 
"save html", saved with requester, an alert "Error saving file: Cannot 
open /C/Dokumente und Einstellungen/BN/Anwendungsdaten/rebol/public/www.rebol.org/library/public/template.html"
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public]
Gregg:
11-May-2009
REBOL []

do %include.r
include %file-list.r


flash-wnd: flash "Finding test files..."

if file: request-file/only [
    files: read first split-path file
]
if none? file [halt]

items: collect/only item [
    foreach file files [item: reduce [file none]]
]

unview/only flash-wnd



;-------------------------------------------------------------------------------
;-- Generic functions

call*: func [cmd] [
    either find first :call /show [call/show cmd] [call cmd]
]

change-each: func [
    [throw]

    "Change each value in the series by applying a function to it"

    'word   [word!] "Word or block of words to set each time (will be 
    local)"
    series  [series!] "The series to traverse"

    body    [block!] "Block to evaluate. Return value to change current 
    item to."
    /local do-body
][
    do-body: func reduce [[throw] word] body
    forall series [change/only series do-body series/1]

    ; The newer FORALL doesn't return the series at the tail like the 
    old one

    ; did, but it will return the result of the block, which is CHANGE's 
    result,
    ; so we need to explicitly return the series here.
    series
]

collect: func [
    "Collects block evaluations." [throw]
    'word
    block [block!] "Block to evaluate."
    /into dest [block!] "Where to append results"
    /only "Insert series results as series"

    /local fn code marker at-marker? marker* mark replace-marker rules
][
    block: copy/deep block
    dest: any [dest make block! []]

    fn: func [val] compose [(pick [insert insert/only] not only) tail 
    dest get/any 'val

        get/any 'val
    ]
    code: 'fn
    marker: to set-word! word
    at-marker?: does [mark/1 = marker]
    replace-marker: does [change/part mark code 1]
    marker*: [mark: set-word! (if at-marker? [replace-marker])]
    parse block rules: [any [marker* | into rules | skip]]
    do block
    head :dest
]

edit-file: func [file] [
    ;print mold file

    call* join "notepad.exe " to-local-file file ;join test-file-dir 
    file
]

flatten: func [block [any-block!]][
    parse block [

        any [block: any-block! (change/part block first block 1) :block | 
        skip]
    ]
    head block
]

logic-to-words: func [block] [

    change-each val block [either logic? val [to word! form val] [:val]]
]

standardize: func [

    "Make sure a block contains standard key-value pairs, using a template 
    block"
    block    [block!] "Block to standardize"
    template [block!] "Key value template pairs"
][
    foreach [key val] template [
        if not found? find/skip block key 2 [
            repend block [key val]
        ]
    ]
]

tally: func [

    "Counts values in the series; returns a block of [value count] sub-blocks."
    series [series!]
    /local result blk
][
    result: make block! length? unique series

    foreach value unique series [repend result [value reduce [value 0]]]
    foreach value series [
        blk: first next find/skip result value 2
        blk/2: blk/2 + 1
    ]
    extract next result 2
]


;-------------------------------------------------------------------------------

counts: none

refresh: has [i] [
    reset-counts
    i: 0
    foreach item items [
        i: i + 1
        set-status reform ["Testing" mold item/1]
        item/2: random/only reduce [true false]
        show main-lst
        set-face f-prog i / length? items
        wait .25
    ]
    update-counts
    set-status mold counts
]

reset-counts: does [counts: copy [total 0 passed 0 failed 0]]

set-status: func [value] [set-face status form value]

update-counts: has [pass-fail] [
    counts/total: length? items

    pass-fail: logic-to-words flatten tally collect res [foreach item 
    items [res: item/2]]
    ;result (e.g.): [true 2012 false 232]
    standardize pass-fail [true 0 false 0]
    counts/passed: pass-fail/true
    counts/failed: pass-fail/false
]

;---------------------------------------------------------------


main-lst: sld: ; The list and slider faces
c-1:           ; A face we use for some sizing calculations
    none
ml-cnt:        ; Used to track the result list slider value.
visible-rows:  ; How many result items are visible at one time.
    0

lay: layout [
    origin 5x5
    space 1x0
    across

    style col-hdr text 100 center black mint - 20

    text 600 navy bold {

        This is a sample using file-list and updating progress as files are
        processed. 
    }
    return
    pad 0x10

    col-hdr "Result"  col-hdr 400 "File" col-hdr 100
    return
    pad -2x0

    ; The first block for a LIST specifies the sub-layout of a "row",

    ; which can be any valid layout, not just a simple "line" of data.

    ; The SUPPLY block for a list is the code that gets called to display

    ; data, in this case as the list is scrolled. Here COUNT tells us

    ; which ~visible~ row data is being requested for. We add that to 
    the

    ; offset (ML-CNT) set as the slider is moved. INDEX tells us which
    ; ~face~ in the sub-layout the data is going to.

    ; COUNT is defined in the list style itself, as a local variable 
    in
    ; the 'pane function.
    main-lst: list 607x300 [
        across space 1x0 origin 0x0
        style cell text 100x20 black mint + 25 center middle
        c-1: cell  cell 400 left   cell [edit-file item/1]
    ] supply [
        count: count + ml-cnt
        item: pick items count
        face/text: either item [
            switch index [
                1 [

                    face/color: switch item/2 reduce [none [gray] false [red] true [green]]
                    item/2
                ]
                2 [mold item/1]
                3 ["Edit"]
            ]
        ] [none]
    ]

    sld: scroller 16x298 [ ; use SLIDER for older versions of View

        if ml-cnt <> (val: to-integer value * subtract length? items visible-rows) 
        [
            ml-cnt: val
            show main-lst
        ]
    ]
    return
    pad 0x20
    f-prog: progress 600x16
    return
    status: text 500 return
    button 200 "Run" [refresh  show lay]
    pad 200
    button "Quit" #"^q" [quit]
]

visible-rows: to integer! (main-lst/size/y / c-1/size/y)

either visible-rows >= length? items [
    sld/step: 0
    sld/redrag 1
][
    sld/step: 1 / ((length? items) - visible-rows)
    sld/redrag (max 1 visible-rows) / length? items
]

view lay
Group: Make-doc ... moving forward [web-public]
Chris:
13-Jun-2005
This is a modified version of the outputter (embedded -- no template, 
no toc).  It does a full parse of each line: http://www.ross-gill.com/w/xhtml/xhtml.html
[unknown: 5]:
13-Jun-2005
Mike - I have already kinda did like you said as I somewhat copied 
note but made a new verse type.  The thing that looks like would 
make madedoc better (might have it already) if if each item could 
be parse with styles also.  For example - come up with a way to parse 
one single line item into 3 parts but format each part different 
with different color for this and different font for that but have 
it still be able to be in the template.
MikeL:
13-Jun-2005
Paul, I don't see how makedoc can do that because one of the goals 
was to having simple tagging where the input source is very readable. 
For these the line prefix (===, ---, ... etc) is that simple tagging. 
To be able to differentiate any value you would have to tag it independently 
and a general template can't know what you want to do.  

If you change the base makedoc to use an external stylesheet instead 
of the embedded styles in the template, you are a long way to getting 
what you want. Combine that with the few special tags you need and 
you can accomplish a lot within the design goals noted.
james_nak:
8-Jul-2007
Without verbose on I don't get the error but then I don't get the 
output either. I'll check to see if it thinks I need a template. 
Shouldn't of course.
james_nak:
8-Jul-2007
Thanks, btiffin, I changed the template-file to false. Now I'm goning 
to check if that is in the script.
james_nak:
8-Jul-2007
Well, at least my mind wasn't playing tricks on me. The version in 
the script library has the template set to a file. Thanks for the 
hint!
btiffin:
8-Jul-2007
%template.html  is a "one-of" default.  If it is not found it uses 
the embeded copy.  This code here
	if not no-template [

  template: any [select opts 'template select doc 'template template-file]
		if file? template [template: attempt [read template]]
		if not template [template: trim/auto default-template]
	]
It's actually pretty handy.
btiffin:
9-Apr-2008
I use makedoc2 right out of rebol.org and one I call makecv, that 
strips out all the ardornment from the default template.  Orginally 
modified for a resume, comes in handy for a few things.  nicomDoc 
for that rare times I need math.  But to be honest, Mulch, the markup 
used in a lot of the rebol.org documentation is pretty nice; but 
to use it you need to document rebol.org <wink><wink>  Sadly, I'm 
now getting too used to wikitext from DocBase.
Sean:
5-Jan-2009
I'm using md2 v2.5.7 and cannot get the template function to work 
correctly. Is anyone having the same issue? In the file i use =template 
template_name
Sean:
5-Jan-2009
Henrik, when i have =template template_html_file as an example in 
the txt file and run md the parser just ignores it and uses the builtin 
template and does not use the seperate templating file
Henrik:
5-Jan-2009
according to the make-doc code, it reads the file using:

if file? template [template: attempt [read template]]


so if it's not being read, it's being ignored, so perhaps check if 
the file can be read in the same console as make-doc uses.
Group: PDF-Maker ... discuss Gabriele's pdf-maker [web-public]
Henrik:
5-Apr-2006
btw. on the compression issue, is it possible to decompress pdf streams 
inside rebol if they are properly massaged? I thought of building 
template pdf files, where you could search/replace the text inside 
those streams to make new pdfs
Henrik:
4-Aug-2006
gabriele, I was more thinking about general page layout, not the 
lower level text flow functions, so you  can decide a general template 
for your pages on your own.
DaveC:
7-Jun-2007
Busy converting HTML template reports into PDF using PDF-Maker. Getting 
the hang of it now.  The function which calculates the textbox height 
is providing most of the work. I'm calculating page space as text 
boxes are generated. As I think in point size, I've transposed mm2pt 
to give me a pt2mm function.
Gabriele:
23-Aug-2010
which means: "create ANY number of pages, as necessary, using the 
following as the template for each page"
Gabriele:
23-Aug-2010
the template can include anything you wish, images, other text, etc.
Gabriele:
23-Aug-2010
book is the text stream. the block with the two textboxes is the 
template (two columns)
Gabriele:
23-Aug-2010
you can also just put the image below the text boxes in the page 
template in that case.
Group: Parse ... Discussion of PARSE dialect [web-public]
Pekr:
19-Jul-2006
I tried doing myself small template "engine", which will simply look-up 
for some marks, and replace values accordingly. I decided to look 
for the end of the marks and my friend suggested me, that I should 
name even ending marks, to be clear there is not an error. My parse 
looks like this:
Pekr:
19-Jul-2006
REBOL []

template: {

<b><!--[mark-x]-->Hello x!<!--/[mark-y]--></b>
<b><!--[mark-y]-->Hello y!<!--/[mark-y]--></b>
<b><!--[mark-z]-->Hello z!<!--/[mark-z]--></b>
<b><!--[mark-w]-->Hello w!<!--/[mark-w]--></b>

}

parse/all template [
   some [
         thru "<!--["
         copy mark to "]-->"
         "]-->" 
         start:
         copy text to "<!--/["
         end:
         "<!--/[" mark "]-->"
         (print text)
         |
         skip
    ]
]           
         
halt
Pekr:
19-Jul-2006
this one works better for me:

parse/all template [
   some [
         thru "<!--["
         copy mark to "]-->"
         "]-->" 
         start:
         copy text to "<!--/["
         end:
         "<!--/[" 

         [mark "]-->" (print text) | (print ["not found end of: " mark]) :start]
         |
         skip
    ]
]
Pekr:
19-Jul-2006
template has to be displayable as gfx man does it, with temporary 
text, images, whatever .... I am just supposed to get correct data 
in there ....
Pekr:
19-Jul-2006
Maarten - now looking into build-markup - sorry, it is just strange 
was of doing things .... noone will place rebol code into template, 
that will not work ... btw - the code is 'done? What happens if someone 
uploads template with its own code? I want presentation and code 
separation.
Group: Linux ... [web-public] group for linux REBOL users
Pekr:
1-Aug-2006
I am going for cgi-based template system, and I expect to use index.cgi 
in my doc-root directory ....
TomBon:
22-Dec-2007
easy to create template driven new guest's, easy to admin and very 
stable...
TomBon:
22-Dec-2007
the guest template is based on ->  http://www.eisfair.org/
Group: CGI ... web server issues [web-public]
Volker:
22-Apr-2005
and for your script:
print "Content-type: text/html^/" 
read-cgi: ...
args: decode-cgi read-cgi 
template: {
 <html><body> <pre> <% mold args %> </pre> </body></html>
}
print build-markup template
Group: Dialects ... Questions about how to create dialects [web-public]
Geomol:
18-Jul-2007
Gregg, first I'm making a simple 'engine' or 'template' for BASIC. 
Today I implemented expressions, some simple string handling and 
a little more. I'll make conditions (IF) and loops (FOR), then that 
should be a good start to build on.
Group: Web ... Everything web development related [web-public]
Pekr:
12-Jan-2005
otoh most template system I looked into don't go Gabriele's route. 
They even do some kind of #include, so when you have e.g. footer 
of your page the same thru whole web, it is not necessary to be par 
t of each template page, but you can have it in separate page and 
only "include it".
Pekr:
12-Jan-2005
Smarty uses some kind of "precompiling", so they don't need to process 
the template each time. Can anyone explain me, what does it mean? 
How does the technique work?
yeksoon:
12-Jan-2005
I believe smarty precompiling is the similar to  what java does to 
jsp when it is first called.


the smarty template in this case is converted into php.... thereafter 
it is just including php
Brock:
14-Jan-2005
We have a template based dynamic site here at work,  we use a base 
page to define the common logic, we use CSS "templates" to define 
the areas of different pages... the above code is Template 3 area 
3, which is the body area for a page that has a header, left navigation, 
body, and footer area.
Pekr:
30-Jan-2005
One question though. Both class and id are used mostly to describe 
layout. I mean - Gabriele's temple uses class and id to identify 
what/how data should be filled in, but it may not be in correspondence 
with design. I should note, that Temple design is how I imagine templating 
system should work. When you work in trio-mode - user (entering data 
into app), programmer and designer (which can't program), most template 
systems are not acceptable, as they break the ability to see the 
design work result, unless loaded into production environment, and 
that is not acceptable in my situation ...
Pekr:
30-Jan-2005
I really don't understand, how ppl can use whatever existing template 
system not working in a Temple way ....
Sunanda:
30-Jan-2005
Petr, stil not sure I understand the template issue.
A tag can have more than one class:

<p class="warning large"> would assign the p *both* classes "warning" 
and "large"
Chris:
30-Jan-2005
CSS Workflow -- easy: create a concept based on information needs; 
plan how to acheive this with the box model; create a base HTML template 
and build up styles around that, incorporating background images 
as required; then test and revise, test and revise, test and revise, 
etc.  Simplified somewhat.  Basically the same as any legacy HTML 
project, only easier.
Pekr:
31-Jan-2005
I can also see combination of table (to create column/row template) 
and the rest be done using css ...
Sunanda:
31-Jan-2005
ID and class -- the "problem" (aka "advantage") of an ID is that 
you can only use it once on a page -- it has to be unique.

That's a good reason *not* to use it for the page design. So leave 
IDs to the template people. Then there's no clash.
Pekr:
31-Jan-2005
Nearly the only thing I did not like about Temple (well, except the 
lack of higher level dialect and docs :-), was that it uses two-phase 
process, and once you build web-page from rebol block structure, 
it knows nothing about original template formatting, I mean - html 
source code formatting, so you may end-up with ugly code, but that 
is not relevant to 99% of users :-)
Pekr:
31-Jan-2005
hmm, it is long time ago I looked at Temple sources, but it seemed 
to me, that first phase generates block of blocks ... then you use 
some functions, e.g. find-by-id, etc., which does lookup in rebol 
block structure and then it replaces/adds data to it. Now once you 
generate html content, how does it know about its original formatting? 
You would have to store pointers to certain sections of original 
template to fill-in releavant data, but maybe I just was looking 
wrong into it ...
Pekr:
31-Jan-2005
Gabriele - that is good to know .... hmm, I just wonder what plans 
do you have on temple. The thing is - it is imo correct aproach to 
templating, if your web designer can't program. If you are web designer 
and coder at once, you might find another template systems satisfactory 
enough.
Pekr:
8-Sep-2005
maybe kind of caching could be introduced to speed things, not needing 
to parse template with each request ...
Pekr:
8-Sep-2005
the thing I really don't like is - original html code structure (pretty 
formatting is lost), as html code is generated back from "DOM" (rebol 
blocks of blocks) ... I don't like it, but well, otherwise you would 
have to remember original position in original html template and 
things could become tricky ...
Gabriele:
8-Sep-2005
you can insert formatting just by inserting something like "^/" etc., 
just it is usually not worth doing. other than that, Temple preserves 
the original formatting from the template.
François:
8-Sep-2005
How does Template oriented development fit for application with complex 
authorization roles? I mean application where users can be in different 
department with different roles, like a CRM tool?
François:
8-Sep-2005
Those users access the same template, but the content can vary according 
to what they can see or not
Gabriele:
8-Sep-2005
what you'd do in your case is have a template with everything in, 
and the code selects what to show. from the point of view of the 
code, you just have abstract entities ("login form", "list of accounts", 
"list of messages" and so on) and you habdle that. how they are implemented 
in HTML is not something you need to worry about, except in some 
rare cases or when you are in a hurry and do QAD things ;)
Pekr:
8-Sep-2005
or you mean e.g. not displaying 'price to ppl outside of sales department? 
It can be imo done with db logic once again, or simply your template 
engine could take care for that ...
François:
8-Sep-2005
Well, i see your ponts, but the application logic regarding security 
and authorisation will be linked to the template: suppose i have 
a page with different section: some section are visible by me and 
other by my colleague only and other by both, the template, through 
ids, classes, etc must tell the application what data must be retreived... 
So the web designer must know something about the logic, no?
François:
8-Sep-2005
And i feel this is not more complicated than playing with templates 
and exceptions on templates, but I may be wrong, as I never try template 
with such authorisation logic.
Pekr:
8-Sep-2005
OK, and if your designer puts custome <rebol:if...> tag into his 
template, how is that reflected in his webtool? Does it distorts 
his display, or do those tools ignore such custom tags?
Gabriele:
8-Sep-2005
The template is how the page should look. if you have different looks 
for different users, they're probably better being different templates.
Pekr:
8-Sep-2005
Francois - I accept your explanation of Magic's concept only in the 
case, if designer can upload different template without me (the developer) 
needing to edit it .... but I may be not so strict :-) I will look 
into Magic's english docs - french docs are really a problem for 
me ...
Pekr:
4-Apr-2006
Hi ... I have following task to acomplish ..... my friend who is 
doing college in archeology, is working on her thesis. Part of the 
thesis are images of various ancient goods. So we've got photos from 
our digital camera. I will produce small View script, which will 
allow her to enter comments for each image. Now I want to do a template 
(table?), with various layouts, mainly two images per A4 page plus 
comments under each of those images. Can I influence table cell size? 
My past experience was, that the cell got resized according to image. 
Are there also various methods, how to "stretch" the image in cell? 
thanks a lot for pointers ...
Pekr:
19-Jul-2006
one question re CSS. I have small template, where I put two images 
one under the other. You can look at http://www.xidys.com/hanka. 
But I will need to cut some images, and that fact destroys aspect 
ratio for me :-) I would like to ask, if, in CSS, I can define image 
the way that it would not be scaled? My definition looks like:

.photo img {
    width: 614px;
    height: 460px;
}

and in html:


<div class="photo"><!--[obrazek 1]--><img src="obrazky/IMG_1361.JPG"/></div>
Pekr:
18-Jun-2007
simply put - open your template in a browser - does it display its 
content flawlesly? (without interpretting templat). If not, than 
it is not what I want :-)
Maxim:
18-Jun-2007
well, that will depend on what you mean by template and what your 
template contains... if you talk about a frame (or various sub parts 
of a page) which hold html, yes remark can have these with no remark 
tags within... so you can linkup an html page based on artists work, 
and add up your dynamically created content.  But remark even allows 
you to programatically include those little html parts at any level, 
so one of your dynamic tags could in fact be loading just menu titles 
which which your gfx artist created manually.  but their placement 
or the choice of which set to load would be controled within the 
dynamic tags.
Kaj:
15-Jan-2009
Would you write 20.000 similar web pages for a web store, or would 
you write one template and store the properties of the goods in a 
database, for example?
AdrianS:
28-Aug-2010
@Gabriele - I'd like to hear your comments on what this article says 
(in sec 2.3) about allowing some basic expressions in the view, wrt 
your templating engine?


http://www.simple-is-better.org/template/#why-if-for-calculations-etc-are-necessary-in-the-view
Gabriele:
28-Aug-2010
In my approach, the mapping between the data and the "view" is defined 
by a dialect. I guess, one might want to make at least part of that 
mapping part of the view; this does not change the fact that the 
template file can then be simple HTML.

Formatting

 to me does not seem a templating issue though. It's about localization 
 and customization (different users will want different formats for 
 dates, and almost everything else). So, this is a completely separate 
 axis. As Carl often says... the problem is multidimensional, reducing 
 it just to "model" and "view" is not really going to work.
onetom:
29-Apr-2011
Janko: we tried http://angularjs.orgrecently. it also does client 
side html templating BUT in 2 ways. the merged data can update itself 
inside the template and also if some input fields change, the corresponding 
model variables reflect this change automatically.

the best framework i've seen so far & u can mix it easily with jquery 
or mootools
Group: Announce ... Announcements only - use Ann-reply to chat [web-public]
[unknown: 9]:
31-Dec-2005
The Gripe:


Go here www.Rebol.org, then go here: http://www.ruby-lang.org/en/, 
then here: http://java.sun.com/, hell even go here, http://msdn.microsoft.com/vbasic/, 
now go back to www.Rebol.com


Even if you don't know what the language is or does, do you want 
to go to Rebol.org?  The main page looks like the last page in the 
basement of a website.  Almost like an "error page"

O There is no single location for all Rebol information.

O Rebol.net, Rebol.com, and Rebol.org are spread out and run by RT. 
O There is no pizzas!
O I don't "feel" community when I visit these sites.


I know I'm not talking to my audience when I say; "think of this 
like a night club" but this is what this is all about.  People want 
to "be where the fun is happening."  Even programmers.

My Suggestion:

O We need a site controlled by the developers.

O We need a forum where people can bitch and meet each other, and 
feel welcome.

O The site needs to have a consistent dynamic attractive template.

O The site needs to be a clearing house for all other sites.  Teach 
and directing people to all the resources.

O The site needs to paint a picture as opposed to describe everything 
with a thousand words.

What is entailed:


O Start a new site, I would propose "RebolCentral.com"  I'm willing 
to pay for it, but I don't want to be in charge of it, I suggest 
we make it a committee.


O The main page should cover every topic and reason anyone would 
come to the site.  This means we support every country and other 
site.  The idea here is a clearing house of centralized information. 


O News: The site needs to gather news worthy information and post 
that at the top.  The site is not alive unless people have a way 
to post their information.  This means that there needs to be at 
least one editor, if not several that share the task.  Every time 
a product is updated, the new features are mentioned.  When Carl 
updates his blog, it gets a single sentence directing people there, 
unless it is news of a release of something.  Etc.


O Product Reviews:   This is key.  Products need to be rated, reviewed, 
categorized, voted on.

O Video Archive: All the videos of all the talks ever given   


O Tutorials:  there are a lot of tutorials out there, but which are 
best?  We need to review the tutorials, rate them by Beginner, Intermediate, 
Advanced.  


O Forum: Start with major topics, and then break it down.  The forum 
needs to direct people to other countries, or support the other countries 
right in the forum.  Great simple forum: http://discussion.treocentral.com/index.php?styleid=1


O Respect the real estate.  The #1 mistake people make is treating 
their websites like just pages.  This is just like real estate, location 
location location.  We need to place the content based on where people 
are going.  So you build the basic site, watch it for a couple of 
weeks, then shift things around based on where people are actually 
going. 


O More art, more photos, more community.   It needs to feel inviting: 
http://msdn.microsoft.com/events/pdc/

Stone soup:


I will pay for, host, and supply a fast linux system (w/archive). 
 

I will help design the templates, and provide (and buy if needed) 
great art for the site.

I will not run the site, nor control the content, but I expect there 
to be in place all the items outlined above, set up in a manner that 
it a) runs itself, b) puts the power in the hands of the developers.
Graham:
1-Jun-2006
It says that because that is the date the original entry was created. 
 We created a few blank records and update them at the right week. 
I guess we should look at the template and remove that information.
Geomol:
8-Oct-2006
NicomDoc 2 is out! http://home.tiscali.dk/john.niclasen/nicomdoc/

Major enhancements are equations (mathematical formulas) and mail 
merge. Other new things include sub- and super-script and specification 
of template within the document.
Graham:
17-Jul-2010
Installed the greenhopper plugin to allow one to use a scrum project 
template
Group: SDK ... [web-public]
amacleod:
3-Mar-2009
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/mezz.r"
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/prot.r"
#INCLUDE %"/C/Program Files/rebol/rebol-sdk/source/view.r"

#INCLUDE %sqlite.r
#INCLUDE %mysql-protocol.r
;#INCLUDE %updater.r


;#INCLUDE %include.r
;#INCLUDE %window.r

;#INCLUDE %scroll-panel.r
;#INCLUDE %scroll-wheel-handler.r
#INCLUDE-binary %fd_shield.jpg
#INCLUDE-files %data [guest.db demo_template.db]
;#INCLUDE %sqlite3.dll
Group: !RebGUI ... A lightweight alternative to VID [web-public]
Graham:
3-Mar-2005
window - graphical object - descriptor - template
Group: SVG Renderer ... SVG rendering in Draw AGG [web-public]
Pekr:
20-Jun-2006
would following news help us to get AGG - SVG compatible gradients? 
It regards AGG 2.4, new branch of AGG, and I am sure we will get 
it ported to REBOL too ...


New utility class template is added, gradient_lut. It allows you 
to easily create a color LUT for gradients from a set of color stops 
as they are defined in SVG, section Gradients and Patterns.
Group: Rebol School ... Rebol School [web-public]
BrianH:
2-Jan-2009
Using /into for your functions leads you towards reusable buffers 
and incremental building. The /no-copy option tends towards template 
copying. I mean, as the option is used generally.
Group: Tech News ... Interesting technology [web-public]
Oldes:
17-Dec-2007
You mean such a tutorial? The framework itself is not interesting 
for me. He made just a bitmap slideshow with tons of files required. 
All of this is made just in Flash IDE with some template used.
Group: !REBOL3-OLD1 ... [web-public]
Volker:
7-Sep-2006
Anton, i think that conjion will be used often, but will the argument 
be an inline-block, or a block in a variable? 'rejoin is used as 
an template, 
rejoin["Its" now/time "o'clock"]

In that case the block should be last. 'append is used with block 
in a var, 
'append this-block something

With conjoin i  expect it less like a template and more like 'append.
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public]
Dockimbel:
12-Oct-2006
Graham: good idea, I already wrote REBOL code to support emoticons 
in another project. I'll add it to the blog. (Note to myself : The 
link to Carl's blog source code disapeared in our blog template file, 
I have to put it back!)
Pekr:
29-May-2007
btw - could I do following? Set my .html files to be treated as CGI, 
via some handler? I can't stand using mixing templates with html 
codes, especially in that manner, where your template code ruins 
normal browser display ....
Pekr:
4-Jun-2007
I just recently received whole new website for our Xidys site ... 
it is - templates, but there is some php code in there, and it sucks 
- they did not tell me ;-) Unfortunatelly, templates are easy. They 
did a trick, when whole top, bottom section plus left menu is one 
template, and content is "included" into the template, according 
to what item you choose in the menu. The advantage is - you don't 
have repeating part on more than one place. Disadvantage is - when 
you want to display the content part, you easily can't, as that template 
waits for inclusion, does not have headers, and hence it does not 
link to css - that aproach sucks, it does not work without whole 
production environment ....
Pekr:
18-Jun-2007
Maxim  - I looked into remark and I don't like it either. As I said 
- I will not accept any system, which ruins normal html (template 
viewing) :-)
Pekr:
18-Jun-2007
gfx man has to do his work, and put some tagging into comments blocks 
at max. .html is registered with handler, and goes via my-rsp.r. 
It either does nothing for the page (static one), or parses tags 
and knows what to do with the template. No html plus rebol code mixing, 
no custom tags ....
Chris:
21-Jun-2007
This is one area QM has sought to resolve.  It's likely it can be 
done with Cheyenne app methods?  Use Hijax -- build an RSP hierarchy:

<template>
  <portion />
</template>


Access %template.rsp when requesting a full page, and %portion.rsp 
when you only want inline content.  Use JS to hijack links to full 
pages and replace them with methods to access and display inline 
content.
Group: DevCon2007 ... DevCon 2007 [web-public]
Chris:
8-May-2007
I've set up a wiki at http://devcon2007.on-arran.com/(template to 
match the official DevCon site).  I'd be obliged if willing DevCon 
attendees would create pages with revelations and announcements from 
the conference, and also if non-attendees could help keep it organised.
Group: Games ... talk about using REBOL for games [web-public]
ICarii:
29-Jun-2007
For the Icons at the top: Blue = Crystal Mines, Green = Forests, 
Red = Gold Mines.  These are your base resources that reproduce each 
turn.  They create stockpiles of Energy, Wood and Gold respectively. 
 These stockpiles are used to activate cards in your hand.


card.png is the 'hidden' or deck card face.  This is used to hide 
the computer's cards and the deck and discard piles.  card1.png is 
a sample of the format that the card images are in.  This can be 
used as a basis for creating new cards to the correct size.  (86x64 
pixel size with a 7x7 pixel offset into the card1.png template). 
  I have a card editor that can add in the card details to match 
their stats etc.


Regarding image names - ill compile a full list and place it on the 
website later today once i finalise the deck size :)
Group: !CureCode ... web-based bugtracking tool [web-public]
Oldes:
18-Nov-2008
And there must be something more as registering new user gives error:
Error Code :  	500
Description : 	access error !

Cannot open /c/rebol/server/Cheyenne/www/curecode-r091/www/curecode-r091/nonenone/email-activation.tpl

Near : 	[template: read join locale/get-path %email-activation.tpl]
Where : 	send-confirmation
Henrik:
30-Aug-2009
URL  = /bugs/register.rsp
        File = www/bugs/register.rsp


        ** Script Error : read expected source argument of type: file url 
        object block 
        ** Where: send-confirmation 

        ** Near:  [template: read join locale/get-path %email-activation.tpl]
Graham:
30-Aug-2009
send-confirmation: func [
	spec [block!] vkey [string!]
	/local url login pass template
][
	system/user/name: "REBOL3 Tracker" 
	set-net reduce [[no-reply-:-curecode-:-org] "softinnov.com"]
	url: rejoin [
		request/headers/Host

  either request/server-port = 80 [""][join ":" request/server-port]
		request/web-app
		"/validate.rsp?id=" url-encode spec/login 
		"&key=" vkey
	]
	login: spec/login
	pass: spec/pass
	template: read join locale/get-path %email-activation.tpl
	replace template "$url" url
	replace template "$login" login
	replace template "$pass" pass
	
	send/subject spec/email template
		rejoin ["[REBOL3 Tracker] " say "Account activation"]
]
Group: DevCon2008 (post-chatter) ... DevCon2008 [web-public]
Reichart:
10-Dec-2008
I added a single Priority 100 task to serve as  template.
Group: Printing ... [web-public]
Graham:
29-Sep-2008
What I tried to do was create a print template that the user can 
define.
Graham:
29-Sep-2008
My printing then uses the print template dialect to print page after 
page.
Graham:
29-Sep-2008
pagesize A4
font Times-BoldItalic 30
linewidth 1
at 190x750 My-Name
color (black)
font Times-Roman 12
newpath at 75x725 line1
at 75x715 line2
at 75x705 line3
at 445x715 "Ph: "
at 465x715 ph
at 445x705 "Fx: " 
at 465x705 fx
at 438x680 "Date:"  font Times-Bold at 465x680 consult-date
font Times-Roman 11
newpath at 75x740 line 530x740
newpath at 75x700 line 530x700
at 75x680 Provider-Template

at 75x600 "Dear " 
at 100x600 Provider
flow-translate 0x0
flowbox 75x150 540x590 float 20
flow-translate 0x0
flowbox 75x150 540x720
gonzo 
flow consult gonzo
flow-translate 0x0
flowbox 75x150 540x720 float 10
flow-translate 0x0
flowbox 75x72 540x720 float 50
showpage
Graham:
29-Sep-2008
ie. I allow the template language to include an eps file
1 / 223[1] 23