hypercontent-users Mailing List for HyperContent (Page 35)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carl B. <C.P...@hu...> - 2004-09-15 11:31:14
|
Hi Alex More questions...... Now I have HyperContent up and running here at Hull on a test server I need to get some people using it. To do this I'm probably going to have to run it though uPortal_2-1-4. Is this easy to do? Do you have any specific instructions to help out? You said you might be able to provide some code for setting up a bread crumb trail. That would be very helpful. Thanks for all your help with this. Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-09-14 16:40:40
|
Hello all, Though I have been somewhat preoccupied with our imminent portal rollout at Columbia, the HyperContent bits continue to trickle out . . . I have committed a simple ant script and a bare-bones content repository to the CVS, so if you checkout the hypercontent2 module you can now perform an "ant startup" and visit a simple hello world page at "http://localhost:8080/index.html". While there is no content of interest in this project as yet, it provide a sufficient structural example for you to take an existing HyperContent 1.x project and port it into the HyperContent 2 server. The porting steps are: -------------------------- 1. Register your project with the bootstrap project. This is done by creating a directory under /repositories/bootstrap/projects, and creating a file called "filesystem.xml" within that directory. This file should contain ONLY the repository element from your project definition, with one new attribute called "mount". This indicates the mount path of this project on the server. By default, the HyperContent servlet is mapped to the root context, so if you mount your project at "/my-project/" the base url for your project would be "http://localhost:8080/my-project/". 2. Create a directory "config" in your project repository. Put a copy of your project definition file at the location "/config/project-definition.xml". The project definition resides within the project repository in HyperContent 2, so that the repository is self-describing, which will enable easier copying and moving of projects. 3. Create a file "/config/permissions.xml" in your project repository. For world read access, this will work: <?xml version="1.0" encoding="UTF-8"?> <permissions> <permission principal="group:anybody" activity="read" target="/"/> </permissions> You can also assign permissions to users, who are defined in the bootstrap project. The pattern for adding users is to put them in a path like "/repositories/bootstrap/users/u/us/username.xml", where the last two directories correspond to the first and first two characters of the username. See the demo user file for an example. Authentication is done via JAAS, so you can plug in another authentication mechanism. The user files in the future will be primarily intended for storing user preferences. 4. Run "ant startup", and visit your web site. Note that directory listings and/or automatic index page mapping are not yet implemented, so you will have to enter the full URL of a file. Your web site should behave just as it would if you performed a build under 1.x, but now it is served dynamically. The only catch is that options configured in the Build options editor are not currently supported - I'd like to get a feel for whether people use these options, as I am considering deprecating them. -------------------------- What is going on under the hood? HyperContent 2 is acting as an HTTP 1.1 server; it is able to map incoming requests to rendering pipelines based on your project definition; if the pipeline is not a simple pass-through, the rendering is cached to disk. The dates of both the disk cache and the user's browser cache are compared with every request against a recursive dependency analyzer, so that content is immediately flagged out of date when any dependency is modified. The maximum latency of last mod date changes is configureable in the hypercontent.properties file. HyperContent 2 also GZIPs content if the browser supports it, and caches the GZIP version to disk. Disk caching is handled by Berkeley DB Java edition, which is based on the fast Java NIO in JDK 1.4, and which has a configureable memory cache for frequently accessed content. Templates for not-found, not-authorized, auth-required and error screens are also provided in the bootstrap project, and can be overridden by any other project. Pipelines are matched on five components: base-directory (used to create virtual directories for presenting alternative forms of output, such as text-only), base path (repository path without file extension), file extension (used to define the content type of the pipeline output), permissions, and "mode", which is a special parameter. Modes are used to define non-cacheable views of data, and are primarily intended for interactive components such as authoring tools. These modal views will also NOT be able to be built and published in batch processes; they are intended only to come from the HyperContent server itself in real-time. Authoring tools are going to be developed as component modes. For example, you might have a directory browser mode and a WYSIWYG mode, and you'll be able to present a page with both tools by creating a composite mode. A simple way to do this is using a Velocity template which uses the include directive to load the URl of the page with different mode parameters. These include requests are handled internally, without going back out over the network. A new form handling framework is also in development which will allow for the mapping of form inputs to unique keys which are bound to objects, so that multiple form-based tools can be composed into a single page and submitted via one form, without losing track of where each input goes. This will also allow the determination of idempotency to the level of individual inputs, as a key->input mapping is invalid as soon as all references to the input backing object are let go by the authoring tool to which they belong. A Mersenne-Twister based unique ID generator is used to guarantee uniqueness of these keys within a JVM; they are represented as 10 character strings built from a 62 character set ([0-9][a-z][A-Z]), with up to 2^ 59 possible values. What's next? The form handling framework will be developed in conjunction with the porting of one or more authoring tools from HyperContent 1.4 to establish proof of concept. This should be done in the next few weeks. The biggest remaining challenge after that will be a new workflow-based publication engine which will allow more control over how batch-processing is done that was possible in v1, from automatic build and publish to a remote server on save, to several stages of approval or automated content validation components. Once that code is built, a new project-definition grammar will be built from the ground up to make it easy to leverage more of the advanced features of HyperContent 2; backwards compatibility for 1.x project definition files will be maintained indefinitely, as that logic is cleanly broken out into a separate SAX ContentHandler. Regards, Alex |
From: Alex V. <av...@co...> - 2004-09-13 16:47:39
|
Hi, Responses are embedded below On Sep 13, 2004, at 10:48 AM, Ingmars Rubenis wrote: > Hello! > > We have 3 problems with version hypercontent 1.4 and tomcat 4.1.24, > (mysql 4) . > We have build one public site please see http://portal.lu.lv , we > have problems: > Situation. I have 2 tomcats on 1 server. One is used only for CMS and > another > is part of uPortal 2.1.4 version http://portal1.lu.lv/uPortal. > So second tomcat where is located hypercontent channel is not working > correctly > There are several problems in hypercontent 1.4: > 1) When processing build for very intensive use it does not work. The > first day it works ok. The second day also, but on the third day it > stops building. > when push building all it shows in another window blank page. The > building is processing through sftp protocol to another server. There > are about 2 developers and 5 - 6 users of > hypercontent using build command every day. After restart of tomcat it > works fine. > Could You look at this problem? It is very impoartant to us, because > we are going to use hypercont to the main university page (university > of Latvia). > May be You could tell how to optimize this tomcat. I have added some > lines to tomcat (JAVA_OPTS="-server -Xincgc -Xms512m -Xmx768m -Xss128k > -XX:MaxHeapFreeRatio=70 -XX:MinHeapFreeRatio=40 -XX:NewSize=128m > -XX:MaxNewSize=512m -XX:SurvivorRatio=8 > -verbose:gc -XX:+UseLWPSynchronization" > )and switched off uportal logger. This option (line in catalina.sh) > works fine with another tomcat > where is uportal located http://portal1.lu.lv/uPortal. I recommend restarting tomcat daily. We do this, and I know a number of other uPortal installations do as well. For heavy HyperContent and uPortal utilization, your memory settings are probably insufficient. I recommend 2+ GB of RAM, if you have it available. Also, your MaxNewSize is too large in relation to your maximum heap size - in general, your MaxNewSize should not be more than 1/3 of your total heap. > 2) It is difficult to upload pictures. It takes sometimes to upload a > gif (10 kb) aprox. 30 minutes. After that there is error message. > see screen shots it attachment. . Could You send the place in source > code where we can comment out the image editor or You can do it by > yourself. We are not using it. > The same problem is in upload download part of application where is > not the image editor. See attachment upload_downlaod_editor.jpg and > editor_err.jpg, image_upload.jpg You can disable the image editor by changing the global editor mappings in ContentTypes.xml. You should make sure your JVM is configured with a useable temp directory, which is used by uPortal and HyperContent as temporary storage for uploaded files. You can do this by setting the system property java.io.tmpdir, e.g. "-Djava.io.tmpdir=/temp" > 3) Problems with htmlarea. There are several errors: > 1. fullscreen htmlarea is not working neither in netscape nor IE see > attachment fullscreen.gif This was a known issue with the version of HTMLArea that is used. I'll check to see if any updates have addressed that issue. > 2. html editor (htmlarea) delets in div tags stylesheet classes > <div class="good" style="" align="justify">asdad</div> > after pushing process changes > <br /> > <div align="justify">asdad</div> > <br /> > see classs.jpg The WYSIWYG editor is configured to strip out style and class elements to prevent users from deviating from the desired look and feel (and to remove garbage that Microsoft Word outputs). You can change this configuration by editing the code in the method DocumentFactory.parseHTMLFragment, which uses NekoHTML to parse and cleanup the HTML. For example, you could change the line remover.acceptElement("div",new String[]{"align"}); to remover.acceptElement("div",new String[]{"align","class"}); to keep the class attribute on divs. > 3. After adding html code in html area editor there is error message > and going back to see text without html tags in the htmlarea editor and > trying to add some text - it is not possible. Only after refreshing > the page it works and it is possible to add text. See images - > area2.jpg, access.jpg I had seen this error in Mozilla at some point, but I thought it was resolved. I suggest you double check that the files under webpages/htmlarea are up to date with what is in the distribution of 1.4 - if you upgraded from a previous version of HyperContent, it is possible those files may not have been properly updated. > > Thanks for response in advance. > P.S. > I hope You could understand the problems. May be You could help us. > Is there a newer version of htmlarea? > > > > > > > > > > > > Best Wishes > Ingmars Rubenis > LU > University of Latvia > Developer > IT department > (371) 7034736 > > <area2.JPG><acces.JPG><classs.JPG><upload_downlaod_editor.JPG><imaga_up > load.JPG><fullscreen.JPG><editor.JPG><editor_err.JPG> |
From: Ingmars R. <ing...@lu...> - 2004-09-13 14:49:27
|
SGVsbG8hDQoNCldlIGhhdmUgMyBwcm9ibGVtcyB3aXRoIHZlcnNpb24gaHlwZXJjb250ZW50 IDEuNCBhbmQgdG9tY2F0IDQuMS4yNCwNCihteXNxbCA0KSAuDQpXZSBoYXZlIGJ1aWxkICBv bmUgcHVibGljIHNpdGUgcGxlYXNlIHNlZSBodHRwOi8vcG9ydGFsLmx1Lmx2ICwgd2UNCmhh dmUgcHJvYmxlbXM6DQpTaXR1YXRpb24uIEkgaGF2ZSAyIHRvbWNhdHMgb24gMSBzZXJ2ZXIu IE9uZSBpcyB1c2VkIG9ubHkgZm9yIENNUyBhbmQgYW5vdGhlcg0KaXMgIHBhcnQgb2YgdVBv cnRhbCAyLjEuNCB2ZXJzaW9uIGh0dHA6Ly9wb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WR2YW5jZS4NClAuUy4NCkkgaG9wZSBZb3UgY291bGQgdW5kZXJzdGFuZCB0aGUgcHJvYmxl bXMuIE1heSBiZSBZb3UgY291bGQgaGVscCB1cy4NCklzIHRoZXJlIGEgbmV3ZXIgdmVyc2lv biBvZiBodG1sYXJlYT8NCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQpCZXN0IFdpc2hlcw0KSW5n bWFycyBSdWJlbmlzDQpMVQ0KVW5pdmVyc2l0eSBvZiBMYXR2aWENCkRldmVsb3Blcg0KSVQg ZGVwYXJ0bWVudA0KKDM3MSkgNzAzNDczNg0KDQo= |
From: Alex V. <av...@co...> - 2004-09-10 13:54:36
|
Hi Juris, Could you provide a more detailed description of the problem? = Is it=20 possible there is a problem with how permissions are set up on the=20 remote host? Alex On Sep 9, 2004, at 10:11 AM, sd...@la... wrote: > > Hello, Alex! > > There is a problem we encountered with HyperContent version 1.4. When=20= > using SFTP > it buids some files with provided wrong password and username - we=20 > came to such > conclusion reading log files. > > Best wishes, > Juris Treibahs. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id=10808&op=C4=A2k > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: <sd...@la...> - 2004-09-09 14:12:07
|
Hello, Alex! There is a problem we encountered with HyperContent version 1.4. When usi= ng SFTP it buids some files with provided wrong password and username - we came t= o such conclusion reading log files. Best wishes, Juris Treibahs. =20 |
From: Alex V. <av...@co...> - 2004-09-08 18:21:55
|
Hello Juris, I will start posting design documentation to the HyperContent developer's list starting next week; I will start by editing my development notes of the last couple months to describe the decisions and architecture that has already been built, and we can proceed from there talking about the components that must be developed next, and where you might be interested in making a contribution. I suggest you sign up for the developer's mailing list at sourceforge as well, so that we can keep this user's list primarily focussed on the implementation of web sites with HyperContent. Cheers, Alex On Sep 8, 2004, at 7:15 AM, sd...@la... wrote: > Hello, Alex! > > Could you provide us some more documentation about HyperContent2? > Ingmars > already has forwarded HyperContent2 design. As he said we'd like to > contribute > in the project. May be we could provide some support? > > > Best wishes, > Juris Treibahs. |
From: Alex V. <av...@co...> - 2004-09-08 18:00:16
|
Hi Carl, You'll notice the logic starting on line 87 of the common.xsl stylesheet in that project: <xsl:choose> <xsl:when test="$onSelf"> <span style="{$style}"> <xsl:value-of select="@label"/> </span> </xsl:when> <xsl:otherwise> <xsl:call-template name="navigation-link"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> This is checking whether the link belongs to the current page, and is just spitting out a span tag rather than a link in that case. If you want the link to appear regardless, you could replace the choose with just the contents of the otherwise: <xsl:call-template name="navigation-link"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> Hope that helps! - Alex On Sep 8, 2004, at 3:47 AM, Carl Barrow wrote: > Hi Alex > > I have got everything else working fine now, just one outstanding > question that for some reason I can't pin point, as I said before it > might just be that my xsl is a bit limited at the moment and I need to > brush up on it. > > In the demo site you supplied, when you click on a menu link on the > published website that link will disappear, this is something that > people have asked for, but I will also need the links to stay there on > some sites. How would I did that? > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-09-08 07:44:19
|
Hi Alex I have got everything else working fine now, just one outstanding question that for some reason I can't pin point, as I said before it might just be that my xsl is a bit limited at the moment and I need to brush up on it. In the demo site you supplied, when you click on a menu link on the published website that link will disappear, this is something that people have asked for, but I will also need the links to stay there on some sites. How would I did that? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-09-07 16:39:54
|
HyperContent 2.0 uses JAAS for authentication - you can configure your=20= preferred authentication mechanism in jaas.properties. You can use=20 uPortal's LocalConnectionContext to pass whatever credentials you=20 require from uPortal to HyperContent. The JAAS LoginModule API is used=20= to implement custom authentication mechanisms. The current=20 implementation validates against a user file, of which I will check in=20= a sample soon. The current source in the hypercontent2 module will compile, as long as=20= you put the contents of the WEB-INF/lib directory in your classpath. =20 The class "org.hypercontent.HTTPServer" is executable if the=20 tomcat-libs are in the classpath; this runs tomcat in embedded mode. =20 However, the server won't be able to do anything without some content=20 and configuration files which are not yet checked in. I have a few=20 other high-priority items here at Columbia to look after, but I expect=20= I'll be able to check in the content & configuration files, along with=20= a build script, within the next few days. Cheers, Alex On Sep 7, 2004, at 7:23 AM, sd...@la... wrote: > Hello! > > I'd like to ask some questions about hypercontent. > > The first: is it possible to make authentication in Hypercontent2.0=20 > through > Uportal channel? That is once entered Uportal using username and=20 > password we > could browse it and see a clannel with a list of projects as links=20 > available > for current user. Clicking on one of theese links a new browser window=20= > would be > opened and the wold start working with hypercontent2.0, which is on a > standalone server. The Uportal channel would only do the=20 > authentication. Would > this approach make sence with Hypercontent2.0 secutity system? Wich=20 > class is > responsible for authentication? > > I would like to run Hypercontenet2 on my server. Is it possible to do=20= > it with > compiled source downloaded from CVS Repository at the current stage?=20= > Are there > any build.xml accessible? > > > Portal and CMS team > University of Latvia > > > Best wishes, > Juris Treibahs > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id=10808&op=C4=A2k > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: <sd...@la...> - 2004-09-07 11:23:40
|
Hello! I'd like to ask some questions about hypercontent. The first: is it possible to make authentication in Hypercontent2.0 throu= gh Uportal channel? That is once entered Uportal using username and password= we could browse it and see a clannel with a list of projects as links availa= ble for current user. Clicking on one of theese links a new browser window wo= uld be opened and the wold start working with hypercontent2.0, which is on a standalone server. The Uportal channel would only do the authentication. = Would this approach make sence with Hypercontent2.0 secutity system? Wich class= is responsible for authentication? I would like to run Hypercontenet2 on my server. Is it possible to do it = with compiled source downloaded from CVS Repository at the current stage? Are = there any build.xml accessible? Portal and CMS team University of Latvia Best wishes,=20 Juris Treibahs |
From: Carl B. <C.P...@hu...> - 2004-09-02 12:23:22
|
Hi Alex Thanks again for all that, very helpful. RE: 'You can use the "Build Options" editor to hide a piece of content, of course that means saving an edit. ' I was meaning on the actually published website, the pages always appear on the left hand side menu. using the 'Build Options' I only seem to be able to stop it from publishing the file, I need the file to be published but no link added to it on the site. Also (and this might be my limited xslt knowledge) In the demo site you supplied, when you click on a menu link on the published website that link will disappear, this is something that people have asked for, but I will also need the links to stay there on some sites. How would I did that? Thanks again Carl Alex Vigdor wrote: > Hi Carl, > (responses embedded) > > On Sep 1, 2004, at 6:48 AM, Carl Barrow wrote: > >> Hi Alex >> >> Thanks very much for all that it was of great help. I now have one >> of our sites here set up and working in hypercontent. I have a few >> more questions... >> >> If I downloads the zip of the site on my PC it says 'invalid >> archive' if I download it onto my mac it's fine. I then need to >> transfer the content to my PC before zipping it up and re uploading >> it. How can I overcome this? > > > I'm looking into this - it used to be that you just had to click, > rather than right-click, on IE to make it work. The current version > of IE seems to object even to this . . . > >> >> At the moment when I create new content it automatically creates a >> new menu item for that content, this is something that I need to do. >> However I also need to be able to create content without a menu item >> being created. How can I configure hypercontent to do that? > > > You can use the "Build Options" editor to hide a piece of content, of > course that means saving an edit. > >> >> When I create new content the 'last updated' info (which I do need) >> says 'false' until I go in and edit the content for the first time. >> Can I have the date it was created displayed until the first edit? > > > This will require a minor code tweak - I'll have a look at it. > >> >> If I want to re upload a file (common.xsl for example) is says the >> file is an invalid format. I have had to upload the full zip to get >> it to work. How can I upload just one file? > > > You can use the "Upload Editor" to upload an individual file - you > have to be in edit mode to accomplish this. You can only upload zip > files from the Details/Admin screen. > >> >> Thanks >> >> Carl >> -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-09-01 19:17:32
|
Hi Carl, (responses embedded) On Sep 1, 2004, at 6:48 AM, Carl Barrow wrote: > Hi Alex > > Thanks very much for all that it was of great help. I now have one of > our sites here set up and working in hypercontent. I have a few more > questions... > > If I downloads the zip of the site on my PC it says 'invalid archive' > if I download it onto my mac it's fine. I then need to transfer the > content to my PC before zipping it up and re uploading it. How can I > overcome this? I'm looking into this - it used to be that you just had to click, rather than right-click, on IE to make it work. The current version of IE seems to object even to this . . . > > At the moment when I create new content it automatically creates a new > menu item for that content, this is something that I need to do. > However I also need to be able to create content without a menu item > being created. How can I configure hypercontent to do that? You can use the "Build Options" editor to hide a piece of content, of course that means saving an edit. > > When I create new content the 'last updated' info (which I do need) > says 'false' until I go in and edit the content for the first time. > Can I have the date it was created displayed until the first edit? This will require a minor code tweak - I'll have a look at it. > > If I want to re upload a file (common.xsl for example) is says the > file is an invalid format. I have had to upload the full zip to get it > to work. How can I upload just one file? You can use the "Upload Editor" to upload an individual file - you have to be in edit mode to accomplish this. You can only upload zip files from the Details/Admin screen. > > Thanks > > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> I've posted a project definition XML file and a repository zip, >> for the "Simple Site" project I showed at the JA-SIG conference in >> June. It's a site with a home page, sections (across the top of the >> page) and subsections (down the left), nothing fancy. There's a bit >> of content in there that shows off things like the WYSIWYG, Image >> Editor, and site mapping. You should configure the project >> definition for your filesystem structure as necessary, then once >> you've opened the project use the "Upload Zip" command with "force >> copy" enabled to get the data into the repository. The files are at >> >> http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.xml >> http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.zip >> >> Regards, >> Alex >> >> On Aug 26, 2004, at 9:42 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Just back from holiday, would it be possible for you to supply us >>> with a very basic Hypercontent site that we can work up from. >>> something like http://www.hull.ac.uk/occhealth/ I need to get >>> Hypercontent up and running here at Hull asap and any starting point >>> would be great. >>> Many Thanks >>> Carl >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank >>> Media >>> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >>> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >>> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-09-01 10:44:47
|
Hi Alex Thanks very much for all that it was of great help. I now have one of our sites here set up and working in hypercontent. I have a few more questions... If I downloads the zip of the site on my PC it says 'invalid archive' if I download it onto my mac it's fine. I then need to transfer the content to my PC before zipping it up and re uploading it. How can I overcome this? At the moment when I create new content it automatically creates a new menu item for that content, this is something that I need to do. However I also need to be able to create content without a menu item being created. How can I configure hypercontent to do that? When I create new content the 'last updated' info (which I do need) says 'false' until I go in and edit the content for the first time. Can I have the date it was created displayed until the first edit? If I want to re upload a file (common.xsl for example) is says the file is an invalid format. I have had to upload the full zip to get it to work. How can I upload just one file? Thanks Carl Alex Vigdor wrote: > Hi Carl, > I've posted a project definition XML file and a repository zip, > for the "Simple Site" project I showed at the JA-SIG conference in > June. It's a site with a home page, sections (across the top of the > page) and subsections (down the left), nothing fancy. There's a bit > of content in there that shows off things like the WYSIWYG, Image > Editor, and site mapping. You should configure the project definition > for your filesystem structure as necessary, then once you've opened > the project use the "Upload Zip" command with "force copy" enabled to > get the data into the repository. The files are at > > http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.xml > http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.zip > > Regards, > Alex > > On Aug 26, 2004, at 9:42 AM, Carl Barrow wrote: > >> Hi Alex >> >> Just back from holiday, would it be possible for you to supply us >> with a very basic Hypercontent site that we can work up from. >> something like http://www.hull.ac.uk/occhealth/ I need to get >> Hypercontent up and running here at Hull asap and any starting point >> would be great. >> Many Thanks >> Carl >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-08-26 18:52:30
|
Hi Carl, I've posted a project definition XML file and a repository zip, for the "Simple Site" project I showed at the JA-SIG conference in June. It's a site with a home page, sections (across the top of the page) and subsections (down the left), nothing fancy. There's a bit of content in there that shows off things like the WYSIWYG, Image Editor, and site mapping. You should configure the project definition for your filesystem structure as necessary, then once you've opened the project use the "Upload Zip" command with "force copy" enabled to get the data into the repository. The files are at http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.xml http://wwwapp.cc.columbia.edu/sws/cucms/simple-site.zip Regards, Alex On Aug 26, 2004, at 9:42 AM, Carl Barrow wrote: > Hi Alex > > Just back from holiday, would it be possible for you to supply us with > a very basic Hypercontent site that we can work up from. something > like http://www.hull.ac.uk/occhealth/ I need to get Hypercontent up > and running here at Hull asap and any starting point would be great. > Many Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-08-26 13:39:20
|
Hi Alex Just back from holiday, would it be possible for you to supply us with a very basic Hypercontent site that we can work up from. something like http://www.hull.ac.uk/occhealth/ I need to get Hypercontent up and running here at Hull asap and any starting point would be great. Many Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-08-16 18:21:53
|
On Aug 16, 2004, at 12:04 PM, Ingmars Rubenis wrote: > Hello! > > We have some questions about hypercontent. > 1)Is it possible to build and publish the data not at this moment, but > after a view days and or hours? For example not to push build, but > choose after > how many days to build and publish the result of xml and xsl > transformation. Where can we find the lines to change or may be You > can help to do it? Scheduled building and publishing is a planned feature for a future release of HyperContent, but is not currently possible. If you are curious how building and publishing is achieved at the code level, look at the command classes BuildNode and PublishNode. This should give you an idea of the data elements that would need to be persisted in order to store a build or publish command for future execution. > > 2) How we can join to Hypercontent CVS. We have some ideas to > contribute specially to PHP. We would like try to integrate some > windows (textarea block) for adding php dynamic part and may be jsp. > What do You think? > > 3) Also we are intersted to help to develop Hypercontent 2.0 version. You can access the CVS from the hypercontent web site. I think PHP or JSP support is a very good idea, and would make a lot of sense in the HyperContent 2.0 architecture, as it will act as a standalone web server. If you would like to contribute, you should begin by reviewing the design document for HyperContent 2.0 (attached). This lays out the basic priorities established for version 2.0, and you can provide feedback or suggestions. From there, if you are interested in developing components, for example to support PHP, we can discuss how that can best be plugged into the 2.0 architecture on the developer's list, and you can submit code on the developer's list as well. You can get CVS commit access once you become regular contributors. The development code base for HyperContent 2.0 is not yet in the SourceForge CVS, but will be in the near future once some housekeeping is complete. Once it is, I can help you understand the appropriate APIs to use to plug in functionality. Alex |
From: Ingmars R. <ing...@lu...> - 2004-08-16 16:05:07
|
Hello! We have some questions about hypercontent. 1)Is it possible to build and publish the data not at this moment, but after a view days and or hours? For example not to push build, but choose after how many days to build and publish the result of xml and xsl transformation. Where can we find the lines to change or may be You can help to do it? 2) How we can join to Hypercontent CVS. We have some ideas to contribute specially to PHP. We would like try to integrate some windows (textarea block) for adding php dynamic part and may be jsp. What do You think? 3) Also we are intersted to help to develop Hypercontent 2.0 version. Portal and CMS team University of Latvia Best Wishes Ingmars Rubenis LU University of Latvia Developer IT department (371) 7034736 Best Wishes Ingmars Rubenis LU University of Latvia Developer IT department (371) 7034736 |
From: Alex V. <av...@co...> - 2004-07-28 19:25:09
|
Hi Carl, Answers are embedded below On Jul 28, 2004, at 6:36 AM, Carl Barrow wrote: > I have been taking at look at HyperContent ready to set up some of the > sites here at at Hull. I have a couple of questions to start with > although I'm sure there will be many more. > > 1- It is possible to auto create a TOC and site index? Yes - v1.4 introduced a new navigation management system, which is appropriate for everything from managing site navigation to site maps (TOC). See http://hypercontent.sourceforge.net/docs/manual/develop/navigation.html > 3- Is it possible to auto create a breadcrumb trail? Yes. This is something that would be implemented in XSL, and might be done by including your site map navigation document, locating the node of the current page, and producing the breadcumb trail based on its ancestors. We have produced some sites with breadcrumb trails here, so we could provide some code samples. > 2 - I have looked at the demo site supplied with the UPortal channel. > I notice that if you create a new news item a new menu item is > automatically created on the left hand menu, is this something that we > can control or turn of completely for a certain site? Navigation is left entirely up to you - the HyperContent site left navigation is managed by a navigation template file, as described in the chapter linked above, and changing that template file is all you would have to do to change whether, where and how many news items show up. The relationship of navigation template files to sections of your site is specified in your project configuration, so you can have completely different rules for generating navigation in different parts of your site. Keep the questions coming! Cheers, Alex > > Many thanks > > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-07-28 10:36:53
|
I have been taking at look at HyperContent ready to set up some of the sites here at at Hull. I have a couple of questions to start with although I'm sure there will be many more. 1- It is possible to auto create a TOC and site index? 3- Is it possible to auto create a breadcrumb trail? 2 - I have looked at the demo site supplied with the UPortal channel. I notice that if you create a new news item a new menu item is automatically created on the left hand menu, is this something that we can control or turn of completely for a certain site? Many thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Mark R. <m.r...@ai...> - 2004-07-13 03:51:46
|
Hi, I have installed uPortal 2.3.3 "Only Distribution" on my tomcat5 container with Oracle as the RDMS. Uportal seems to be working fine. I edited the build.properties file for HyperContent as follows: deploy=C:/_work/tom5019/webapps/uPortal common.lib=C:/_work/tom5019/common/lib runtime.dir=C:/_work/tom5019/webapps/uPortal I then installed HyperContent1.4 by running ant with the default target. It installs without error. I notice that an entry in the uPortal table, UP_CHANNEL, exists for Content Manager. However, when I log into uPortal as admin, I can't find the Content Manager channel. I can find a heap of other channels/content via the Preferences -> Add Content and looking through the Content Subscriber. Please help me finish getting HyperConnect installed. Any help greatly appreciated. Cheers Mark ------------------------------------------------------------------------ The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments. ------------------------------------------------------------------------- |
From: Alex V. <av...@co...> - 2004-07-12 17:30:30
|
On Jul 12, 2004, at 1:12 PM, Jos=E9 Pedro Pereira wrote: > Hi all: > =A0 > I have two doubts about HyperContent: > =A0 > 1) Is there a way to load information from other types of repositories=20= > (not filesystems but databases, for instance). There is a filesystem API which you could implement to talk to a=20 database. You could also pull in data from Web Services, which might=20 be backed by RDBMS. HyperContent 2.0 will allow you to mount multiple=20= repositories per project, making it easier to talk to multiple sources=20= of information in a single project. > =A0 > 2) Is there a way to automate Hypercontent so that instead of=20 > publishing to a remote site it publishes it's contents as a Channel=20 > inside it's own uPortal? Under HyperContent 1.4, the current release, you cannot publish=20 directly to a portal channel: you can publish HTML, XHTML or XML to an=20= intermediate site, and then publish that content into the portal using=20= the appropriate channel type in uPortal. HyperContent 2.0 will be=20 decoupled from uPortal, and will eventually support management of WSRP=20= portlets which could be discovered by uPortal using UDDI. > =A0 > =A0 > Thanks in advance > =A0 > Jos=E9 Pedro Pereira > =A0 > =A0 |
From: <jp...@ed...> - 2004-07-12 17:13:52
|
Hi all: =20 I have two doubts about HyperContent: =20 1) Is there a way to load information from other types of repositories = (not filesystems but databases, for instance). =20 2) Is there a way to automate Hypercontent so that instead of publishing = to a remote site it publishes it's contents as a Channel inside it's own uPortal? =20 =20 Thanks in advance =20 Jos=E9 Pedro Pereira =20 =20 |
From: Alex V. <av...@co...> - 2004-07-12 17:00:49
|
HyperContent 1.4 does support SFTP, but not SCP. It would be possible to write an SCP implementation, but the protocol is limited and would not provide the full set of features that SFTP provides. You can use different servers for each filesystem; if your project no longer shows up in the projects list, it is likely because the file is not parsing properly as XML. You should check the portal log for errors, and double check your configuration for unbalanced tags or unescaped special characters. Alex On Jul 12, 2004, at 12:55 PM, Ingmars Rubenis wrote: > Hello! > > We are using Hypercontent 1.4 version? > It was written in manual that Hypercontent 1.4 supports sftp? > Is it also supports scp protocol? > I tried in project definision to add different server om project > definition, but after I save that definition I can not see my project > in project list? > Is possible to do build, preview and publish in different server for > example home.lv is for one server and for publish, build, preview is > another like home1.lv > Could You tell me how to put use this feature, where could I find > information about it? > > Thanks in advance! > > > > > > > > > > Best Wishes > Ingmars Rubenis > LU > University of Latvia > Developer > IT department > > > |
From: Alex V. <av...@co...> - 2004-07-06 17:35:02
|
Hello, I have embedded responses inline, and copied the mailing list on the reply. I encourage you to follow up on the mailing list, as others may be interested in this information. On Jul 5, 2004, at 1:30 PM, Egons Jurgevics wrote: > Hello! > > We are trying to build our university portal public pages by using > Hypercontent. Here > are some problems, which i have come to. > > 1. > the xsl code: > > <xsl:output method="html" > indent="yes" > doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" > > doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1- > transitional.dtd" /> > > generates the html code > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > which is not valid in http://validator.w3.org/ > > The valid code ir with html lowercased: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> If you are outputting XHTML, try setting the output method to "xml". The "html" output method is not intended for XHTML. > > 2. Download Zip does not work in the projects Are there any errors on screen or in the logs? Have you tried clicking the link that appears when the process is complete, to download the file? Right clicking may not work in IE, but just clicking the link should work. > > 3. When uploading an image file, it is opened in Picture Editor by > default. It is very slow, i would prefer to edit it only when i click > Edit link. You can control the editing environment at a global level with the Content Types configuration file, or just within the resource-directory configuration for your project. You can set up the default screen to be the upload editor, with the image editor as a secondary option. See the manual chapters http://localhost/cucms/preview/docs/manual/develop/mime.html http://localhost/cucms/preview/docs/manual/develop/editors.html > > 4. It is not possible to upload several files at a time. You can submit this as a feature request using the SourceForge "Request Feature / Enhancement" tracker at http://sourceforge.net/tracker/?group_id=101745&atid=630318 > > 5.1. It is not possible to Browse for the pictures in the currect > folder > in HTML editor. Say, i have resource directory with index.xml and > test.jpg *.jpg files When i edit index.xml and add html area, it would > be cool to browse for the pictures in the same dir. Maybe even in other > directories as well. This is a planned feature for a 2.x release of HyperContent. It may not be available until early 2005, as the architectural overhaul for v2.0 is top priority right now. > > 5.2 When writing an image url "test.jpg", it is generated as > "/uPortal/test.jpg", but it should be just "test.jpg" Relative paths to images are not currently supported in the WYSIWYG editor. You need to put the full repository path, e.g. "/images/test.jpg". > > 5.3. It is not possible to preview the images inserted in the html area > as well, because the url is wrong. See above (it will work when you use the absolute path, and have previously previewed that image). > > 6. It would be cool to define some kind of template for the new > filenames. For example, when i create a new file, i would like it to > have a date_time filename or a generated ID filename. See note above about requesting features. > > 7. In dynamic part we use php. What do You think about idea to put > php script into xsl? We have not done this, but it should work. I would encourage you to add PHP to your Content Types configuration, and manage most of your php code in straight PHP files which you could upload into the system, and use XSL to produce php import tags and object references. > > Cheers, > Egons > University of Latvia > |