ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66561
|
Fri Oct 16 12:21:45 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.7.7 | Re: Option list length |
soren poulsen wrote: |
Hi,
I use the following attribute definition:
Options <attribute> = <list>
However, I am being limited by the list length limit of 100. I have 103 items, but I only see 100.
Could the limit be extended (to 200 for instance) ?
Thanks a lot for your help
Soren
|
You can change that yourself. Just find following line in elogd.c:
#define MAX_N_LIST 100
and change it to 200, then recompile. But you are there on your own, at some point you will get a stack overflow and elogd will crash, but I don't know exactly where this limit is.
Anyhow I would propose that if you have so many options in an attribute, that you better go and group these options somehow. Like using two attributes, where the first defines the group, and the second gets different list for each option of the first attribute using conditional attributes. Have a look here.
|
66562
|
Wed Oct 21 19:06:59 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.7.7 | Re: feature req.: identify ELOG web pages via META element |
Bill Pier wrote: |
* Withdrawn *
The HTML layout produced by elogd is horrendous to deal with programmatically; I give up.
Hi,
I'm writing a greasemonkey script to slightly alter the look of the pages served by the ELOG server. One difficulty that I'm struggling with is how to identify what type of page ELOG has created. While I have several methods to determine the page type, such as a log entry vs. log entries summary, the solutions are not straight forward and not clean. As far as I tell, there's no specific identification in HTML document currently that describes and identifies the type of page being served by the ELOG server.
So, I'm requesting that the pages created by ELOG be identified in some fashion with the META element, such as:
<meta name="description" content="elog log entry" />
or
<meta name="description" content="elog log summary" />
or even using the keywords attribute:
<meta name="keywords" content="elog log summary" />
|
Sorry, I didn't yet have time to implement your request.
Have you considered to download an entry in plain text? Like this entry you can load with
https://midas.psi.ch/elogs/Forum/66555?cmd=Download
which should be much easier to interprete. If you write your entries in ELCode or plain format, it should be even easier. |
66564
|
Mon Oct 26 10:13:54 2009 |
| soren poulsen | soren.poulsen@cern.ch | Request | Linux | 2.7.7 | Re: Option list length |
Stefan Ritt wrote: |
soren poulsen wrote: |
Hi,
I use the following attribute definition:
Options <attribute> = <list>
However, I am being limited by the list length limit of 100. I have 103 items, but I only see 100.
Could the limit be extended (to 200 for instance) ?
Thanks a lot for your help
Soren
|
You can change that yourself. Just find following line in elogd.c:
#define MAX_N_LIST 100
and change it to 200, then recompile. But you are there on your own, at some point you will get a stack overflow and elogd will crash, but I don't know exactly where this limit is.
Anyhow I would propose that if you have so many options in an attribute, that you better go and group these options somehow. Like using two attributes, where the first defines the group, and the second gets different list for each option of the first attribute using conditional attributes. Have a look here.
|
Thanks. This is a good explanation. It might indeed be better to re-group the options to have a shorter list.
Soren |
66599
|
Fri Nov 13 14:25:52 2009 |
| Steve Williamson | StephenWilliamson@Barnsley.gov.uk | Request | Linux | 2.7.7-2264 | List View: Attachments icon |
It is occasionally convenient to be able to put the Edit button at the beginning of the line in list view, e.g. when pages are wider than the screen it saves having to scroll across to find it. Would it be possible to do something similar with the Attachments button?
regards
Steve |
66601
|
Fri Nov 13 14:31:45 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.7.7-2264 | Re: List View: Attachments icon |
Steve Williamson wrote: |
It is occasionally convenient to be able to put the Edit button at the beginning of the line in list view, e.g. when pages are wider than the screen it saves having to scroll across to find it. Would it be possible to do something similar with the Attachments button?
regards
Steve
|
I don't understand what you mean. There is only a "Submit" button and a "Choose File" button:
both are pretty close to the beginning of the line (left side). |
66602
|
Fri Nov 13 15:06:37 2009 |
| David Pilgram | David.Pilgram@epost.org.uk | Request | Linux | 2.7.7-2264 | Re: List View: Attachments icon |
Hi Stefan and Steve,
Do you mean putting the paperclip icon to the left of the 'Thread display' (such as next to the emoticons and
other stuff we can put in this forum)?
I'd be happy with that if it overwrote the "+" in the threaded, collapsed mode; or
that there was a reserved position for the icon in threaded (any variant), and if no
attachment, just a blank.
Or make it something to configure, thus ruining Stefan's weekend and confusing the rest of us ;-)
Regards,
David.
<p>
<table width="98%" align="center" cellspacing="1" style="border:1px solid #486090;">
<tbody>
<tr>
<td cellpadding="3px" style="background-color:#486090; font-weidht:bold; color:white;">Stefan Ritt wrote:</td></tr>
<tr>
<td cellpadding="10px" style="background-color:#FFFFB0;"><p>
<table width="98%" align="center" cellspacing="1" style="border:1px solid #486090;">
<tbody>
<tr>
<td cellpadding="3px" style="background-color:#486090; font-weidht:bold; color:white;">Steve
Williamson wrote:</td>
</tr>
<tr>
<td cellpadding="10px" style="background-color:#FFFFB0;">
<p>It is occasionally convenient to be able to put the Edit button at the beginning of the line in
list view, e.g. when pages are wider than the screen it saves having to scroll across to find it. Would it
be possible to do something similar with the Attachments button?</p>
<p>regards</p>
<p>Steve</p>
</td>
</tr>
</tbody>
</table>
</p>
<p>I don't understand what you mean. There is only a "Submit" button and a "Choose File"
button:</p>
<p><a href="091113_143107/Capture.png?lb=Forum"><img border="0" alt="Capture.png" name="att0" id="att0"
src="091113_143107/Capture.png?lb=Forum&thumb=1" /></a> </p>
<p>both are pretty close to the beginning of the line (left side).</p></td>
</tr>
</tbody>
</table>
</p><p> </p> |
66605
|
Fri Nov 13 15:10:47 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.7.7-2264 | Re: List View: Attachments icon |
David Pilgram wrote: | Or make it something to configure, thus ruining Stefan's weekend and confusing the rest of us |
Yeahh, you got the point!
So will see how the weekend goes... |
66606
|
Fri Nov 13 15:13:56 2009 |
| David Pilgram | David.Pilgram@epost.org.uk | Request | Linux | 2.7.7-2264 | Re: List View: Attachments icon |
Stefan Ritt wrote: |
David Pilgram wrote: | Or make it something to configure, thus ruining Stefan's weekend and confusing the rest of us |
Yeahh, you got the point!
So will see how the weekend goes... |
Yes, been there, got the tee shirt
SVN here we come... |