Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 772 of 796  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Categoryup OS ELOG Version Subject
  66562   Wed Oct 21 19:06:59 2009 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.7.7Re: 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 Reply soren poulsensoren.poulsen@cern.chRequestLinux2.7.7Re: 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 Question Steve WilliamsonStephenWilliamson@Barnsley.gov.ukRequestLinux2.7.7-2264List 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 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.7.7-2264Re: 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:

Capture.png 

both are pretty close to the beginning of the line (left side).

  66602   Fri Nov 13 15:06:37 2009 Reply David PilgramDavid.Pilgram@epost.org.ukRequestLinux2.7.7-2264Re: 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.&nbsp; 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 &quot;Submit&quot; button and a &quot;Choose File&quot;
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&amp;thumb=1" /></a>&nbsp;</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 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.7.7-2264Re: List View: Attachments icon

David Pilgram wrote:
Or make it something to configure, thus ruining Stefan's weekend and confusing the rest of us Wink


Big grin Yeahh, you got the point!

So will see how the weekend goes...
  66606   Fri Nov 13 15:13:56 2009 Reply David PilgramDavid.Pilgram@epost.org.ukRequestLinux2.7.7-2264Re: 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 Wink


Big grin Yeahh, you got the point!

So will see how the weekend goes...


Yes, been there, got the tee shirt Wink

SVN here we come...
  66607   Fri Nov 13 15:14:38 2009 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.7.7-2264Re: List View: Attachments icon

David Pilgram wrote:
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)?


Ahh, now I see what you mean. Well, first you can configure the amount of things to be shown in the threaded display
already via "Thread display". So maybe you can strip down things to have not too long entries. Second, to get to the
attachment you click on the entry, then click on the attachment. So to save you one click, it would cost me a few hours
of work (literally during the weekend). So I'm not very convinced Wink
ELOG V3.1.5-2eba886