When You Are Old | arfore.com

When You Are Old
by William Butler Yeats

When you are old and gray and full of sleep And nodding by the fire, take down this book, And slowly read, and dream of the soft look

Your eyes had once, and of their shadows deep;

How many loved your moments of glad grace, And loved your beauty with love false or true; But one man loved the pilgrim soul in you,

And loved the sorrows of your changing face.

And bending down beside the glowing bars, Murmur, a little sadly, how love fled And paced upon the mountains overhead,

And hid his face amid a crowd of stars.

ref. url: When You Are Old

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

Andy Fore – Mon, 2007 – 02 – 05 18:08

Sort the Role Listing in the Contribute Client | arfore.com

One of the annoyances I have found with the Contribute Client is that in the Administration interface section, when adding a user, the menu of roles is not sorted for you. The list that appears when you reassign a user or when you create a new role, is sorted for you.

Each time that a new role is added, the client updates the hub file, adding the new role to the end of the list.

In investigating this I found that the hub file is just an XML file. This file is stored in the root _mm folder of the website that you are managing. Note that this file is connection specific, so if you are managing multiple websites, the location of this control file will vary. And if you are managing a large deployment by having multiple sites with a single directory structure, you will have a different _mm folder and hub file for each site, even though they are physically on the same server they are treated differently by the logic of the software.

The XML node list structure that controls this is as follows:

... ...

The name of the role shown in the Contribute client administration interface is controlled by the value assigned to the value attribute of the individual group_list_item nodes.

The last group_item_list node is the most recent role that has been added to the system.

What I ended up doing was using a pre-compiled perl program to sort the group_list_item nodes based on the content of the value attribute.

In order to use xmlsort, you will need the following Perl modules:

XML-Filter-BufferText-1.01 XML-Filter-Sort-1.01 XML-SAX-Writer-0.50

Text-Iconv-1.4

After installing those Perl modules you will be able to use the xmlsort command. This is essentially a precompiled Perl command that eliminates you from having to write a Perl script to do a simple sort. If you need to do more complex sorting or XML processing then you will need to roll your own code.

The necessary syntax for the command is:

xmlsort -i -r=group_list/group_list_item -k=@value cthubxxx.csi > out.xml

Replace the cthubxxx.csi is the command with the actually filename for your particular hub file. At this point you should backup your hub file then rename out.xml to the hub filename. This process doesn’t require a restart of CPS or the Contribute client, but it would be safer to do this at a time when there is low usage of Contribute just in case.

arfore – Mon, 2006 – 12 – 18 01:41

On Raglan Road | arfore.com

On Raglan Road
by Patrick Kavanagh

On Raglan Road on an autumn day I met her first and knew That her dark hair would weave a snare that I might one day rue; I saw the danger, yet I walked along the enchanted way,

And I said, let grief be a fallen leaf at the dawning of the day.

On Grafton Street in November we tripped lightly along the ledge Of the deep ravine where can be seen the worth of passion’s pledge, The Queen of Hearts still making tarts and I not making hay –

O I loved too much and by such and such is happiness thrown away.

I gave her gifts of the mind I gave her the secret sign that’s known To the artists who have known the true gods of sound and stone And word and tint. I did not stint for I gave her poems to say.

With her own name there and her own dark hair like clouds over fields of May

On a quiet street where old ghosts meet I see her walking now Away from me so hurriedly my reason must allow That I had wooed not as I should a creature made of clay –

When the angel woos the clay he’d lose his wings at the dawn of day.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18 19

20

21 22 23

24

25

26

27

28

29

30

31

Andy Fore – Wed, 2007 – 01 – 03 16:23

Enable Verbose Logging on Contribute Publishing Server | arfore.com

In the process of troubleshooting the LDAP user problems I was experiencing I found that by default the logging of info and debug messages is turned off by default for the OEM jrun install that is part of Contribute Publishing Server 3.11.

In order to enable these logging levels you have to edit the sevrer configuration xml file. This file should be located in the configuration directory of your jrun4 server’s WEB-INF folder.

The name of the file is: ckm.xml

Open this file in your favorite editor and look for the following section:

/usr/Macromedia_CPS/logs/out.log /usr/Macromedia_CPS/logs/err.log true true true

By default the logger is only set to show error messages. This section also shows the location of the error logs and the output logs.

Note, that enabling this you will get larger log files, since this will log all connections to the LDAP server by the Contribute client(s) that you have installed. You may find it necessary to open the admin console and set a max log file size to control this.

arfore – Tue, 2006 – 12 – 19 00:26