Re: [Pharo-project] editing a project description on ss3.gemstone.com

2011-11-17 Thread Tobias Pape

Am 2011-11-17 um 19:37 schrieb Alexandre Bergel:

 Hi!
 
 On squeaksource.com, the project description can contains code using the 
 pre.../pre tag, as in:
 
 pre
 Gofer new
   url: 'http://ss3.gemstone.com/ss/SPIRIT'; 
   package: 'ConfigurationOfSpirit';
   load.
 (Smalltalk at: #ConfigurationOfSpirit) project lastVersion load
 /pre
 
 It seems this does not work with ss3.gemstone.com.
 
 Has this tag been replaced with something else?


The project description is just sanitized text as you would do with a seaside
html text: 'foo'.

See 
SSOverviewrenderDescriptionOn: html
html heading level2; with: 'Project Description'.
html paragraph: self model information ---

and 
SSDirectoryListingrenderContentOn: html
html heading level1; with: self title.
html anchor
url: self project fullHomepageUrl;
with: self homepageUrlText.
html paragraph: [
html withLineBreaks: self information ]. ---
super renderContentOn: html.
self renderConfigsOn: html.

What would you suggest?
I am open to suggestions.

Best
-Tobias


Re: [Pharo-project] editing a project description on ss3.gemstone.com

2011-11-17 Thread Alexandre Bergel
I do not know the details of SSOverview. But on squeaksource.com, editing a 
project description allows one to enter code using a pre and /pre tag.

For example, the project description used on 
http://www.squeaksource.com/Versionner.html is
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Versionner is a French word that means handling versions.

pre
Gofer new
squeaksource: 'Versionner'; 
package: 'ConfigurationOfVersionner';
load.
((Smalltalk at: #ConfigurationOfVersionner) project version: #development) 
load./pre
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I haven't seen a way on ss3.gemstone.com to enter code in the project 
description.

Cheers,
Alexandre


On 17 Nov 2011, at 16:54, Tobias Pape wrote:

 
 Am 2011-11-17 um 19:37 schrieb Alexandre Bergel:
 
 Hi!
 
 On squeaksource.com, the project description can contains code using the 
 pre.../pre tag, as in:
 
 pre
 Gofer new
  url: 'http://ss3.gemstone.com/ss/SPIRIT'; 
  package: 'ConfigurationOfSpirit';
  load.
 (Smalltalk at: #ConfigurationOfSpirit) project lastVersion load
 /pre
 
 It seems this does not work with ss3.gemstone.com.
 
 Has this tag been replaced with something else?
 
 
 The project description is just sanitized text as you would do with a seaside
   html text: 'foo'.
 
 See 
 SSOverviewrenderDescriptionOn: html
   html heading level2; with: 'Project Description'.
   html paragraph: self model information ---
 
 and 
 SSDirectoryListingrenderContentOn: html
   html heading level1; with: self title.
   html anchor
   url: self project fullHomepageUrl;
   with: self homepageUrlText.
   html paragraph: [
   html withLineBreaks: self information ]. ---
   super renderContentOn: html.
   self renderConfigsOn: html.
 
 What would you suggest?
 I am open to suggestions.
 
 Best
   -Tobias

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.