Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: need insert html-tags into format marc-configuration: msg#00039

Subject: Re: need insert html-tags into format marc-configuration
Wolfgang Pichler wrote:
Christoffer Landtman wrote:

Wolfgang Pichler wrote:

hi !
i fail repeatedly to "beautify" the presentation of marc-data
i discovered that <br> works fine, but if i e.g. want to use <em>blah %a</em> no matter what i try to escape, the / will never go "through" to final formatting
but maybe i am doing the wrong "escaping" :-)



So you would like to add html-tags into MARC data? That seems to me
atleast like a rather bad idea, if I understood you correctly.

There is a very strict request stripping function in mgmnt.inc i think.
This function strips everything exept for some special tags. Thus, you
cannot enter html tags into the request!

In what situation would you like "pretty" MARC fields?


you misunderstand me !
this affects only field "marc_format" in table "marc_configuration" !

i want to specify e.g
   "ITEM1 = %a<br>ITEM2 = %b"
this works and should work in the future too :-)

i want to specify e.g
   "<em>ITEM1 =</em> %a<br>ITEM2 = %b"
but htis does not work since EVERY slash is eaten ...¨

Ic!

However, this has no difference from the point of view of tag-stripping!
Emilda will strip the tags also from here, and you will have to patch
emilda if you want to allow them in marc_format. It does not help to
escape, as these are stripped on PHP-level! There are some tweaks that I
can give you, but first you want to be sure that you really want to do
this =) Let me know!


btw. what formatting besides <br> do you suggest will be feasible not to disturb the layout too much ? btw. how to enforce nonproportional charset and/or create somthing like a table ?


ok a sub-table would also be great (ok it was a joke ...)
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda



--
Christoffer Landtman
CEO
Oy Realnode Ab

landtman@xxxxxxxxxxxx
www.realnode.com


<Prev in Thread] Current Thread [Next in Thread>