Re: [Dspace-tech] [Dspace-devel] [Dspace-general] show HTML data
yes guys you are right but not to have the possibility to use bold character or dotted list etcetera sometimes makes hard a good description. On Wed, Jul 15, 2009 at 3:11 PM, Andrew Marlow wrote: > FWFW, I have seen lengthly and complex abstracts with alot of markup > including math and/or chemistry markup, including embedded LaTeX. > > > On Tue, Jul 14, 2009 at 1:39 PM, Mark H. Wood wrote: > >> Now, *I* think that an abstract >> should be a single brief block of text -- three, perhaps four >> sentences. I've been shown many times that others disagree: they >> write three or four *paragraphs*, often with various kinds of emphasis >> or even complex layout expectations. > > -- > Regards, > > Andrew M. > http://www.andrewpetermarlow.co.uk > > > > -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ___ > Dspace-devel mailing list > dspace-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-devel > > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-devel] [Dspace-general] show HTML data
Dear Mark, it's the common behavior with all the DSpace installation i have seen (MIT included). The problem is that all the data in the field dc.description are saved as plain text for security issues. so the data must to be reconverted in html before being pushed to the UI. so, do you know what is the java class that retrieve the information from the database and pass it to the UI? thank you very much Antonio On Mon, Jul 13, 2009 at 9:16 AM, Mark Diggory wrote: > Antonio, > > It is unclear why your case is not working. I can assure you that a > default installation of DSpace Manakin XMLUI will allow you to place > html in the form fields for any Community/Collection and that will > render as HTML in the Community/collection views without being > escaped, this is expected behavior. IT shouldn't require altering the > xslt templates to correct for your problem, there is apparently > something else going wrong with your installation. HTML escaping is > not used when the content is stored in the database, it is stored as > plain old unescaped html text. I suspect that there is something > concerning your environment different from a typical default > installation running on tomcat/linux that is giving rise to this > problem. > > > the "problem" that the data inside the database are saved as text and > > special character are added to avoid SQL-injection > > Are you running some sort of sql-injection filtering in-front of DSpace? > > Mark > > -- > Mark R. Diggory > @mire - http://www.atmire.com > > On Sat, Jul 11, 2009 at 3:33 AM, Antonio Cuomo > wrote: > > Dear Mark, thank you for your reply, > > > > unfortunately i didn't worked. > > > > The problem is: > > cocoon throught a java class take the data from the data base and pass > them > > directly to manakin without any change. > > > > manakin build up the layout the sent it to the browser with the data > cocoon > > passed > > > > > > the "problem" that the data inside the database are saved as text and > > special character are added to avoid SQL-injection > > so if i write: > > Ciaoforever > > > > the data appears in the data base in this way > > > > <h3>Ciao</h3> <br/> <p>for ever <p> > > > > and so what the browser receive is > > > > <h3>Ciao</h3> <br/> <p>for ever <p> > > > > that is visualized as > > Ciaoforever > > > > what i need is to decode this special carachers < and > in < and > > > > > > to do this i can try to modify the xsl DIM-Handler (do u know how?) > > > > or the java cocoon class (do you know witch one and how?) > > > > Thank you very much > > Antonio > > > > > > On Sat, Jul 11, 2009 at 3:02 AM, Mark Diggory > wrote: > >> > >> Use well formed xml here and try to wrap content with a or > >> tag and it should work better for you. You shouldn't require > >> alteration of the xslt for this. > >> > >> > >> hello > >> it is a description > >> > >> > >> Mark > >> > >> -- > >> Mark R. Diggory > >> @mire - http://www.atmire.com > >> > >> 2009/7/10 Antonio Cuomo : > >> > dear D-Space developer/user > >> > > >> > i have a question: > >> > > >> > i have some html code in my Database in the description field, of > course > >> > the > >> > html have been transformed in plain text. > >> > so the database entry is: > >> > hello it is a description > >> > > >> > when DSpace shows the database content it actually shows the text: > >> > hello it is a description > >> > > >> > while i wuold like to say the html resoults instead: > >> > > >> > hello > >> > it is a description > >> > > >> > > >> > > >> > How can i do it? > >> > > >> > i see two possibilities: > >> > > >> > - Overwrite the java class that take data from the database and send > >> > them > >> > to manakin in order to decode the html > >> > > >> > > >> > - working at Mankin level(but it seems me pretty much more > >> > complicated):in > >> > the file DIM-Handler.xsl > >> > > >> > > >> > ..
Re: [Dspace-tech] [Dspace-devel] [Dspace-general] show HTML data
Dear Mark, thank you for your reply, unfortunately i didn't worked. The problem is: cocoon throught a java class take the data from the data base and pass them directly to manakin without any change. manakin build up the layout the sent it to the browser with the data cocoon passed the "problem" that the data inside the database are saved as text and special character are added to avoid SQL-injection so if i write: Ciaoforever the data appears in the data base in this way <h3>Ciao</h3> <br/> <p>for ever <p> and so what the browser receive is <h3>Ciao</h3> <br/> <p>for ever <p> that is visualized as Ciaoforever what i need is to decode this special carachers < and > in < and > to do this i can try to modify the xsl DIM-Handler (do u know how?) or the java cocoon class (do you know witch one and how?) Thank you very much Antonio On Sat, Jul 11, 2009 at 3:02 AM, Mark Diggory wrote: > Use well formed xml here and try to wrap content with a or > tag and it should work better for you. You shouldn't require > alteration of the xslt for this. > > > hello > it is a description > > > Mark > > -- > Mark R. Diggory > @mire - http://www.atmire.com > > 2009/7/10 Antonio Cuomo : > > dear D-Space developer/user > > > > i have a question: > > > > i have some html code in my Database in the description field, of course > the > > html have been transformed in plain text. > > so the database entry is: > > hello it is a description > > > > when DSpace shows the database content it actually shows the text: > > hello it is a description > > > > while i wuold like to say the html resoults instead: > > > > hello > > it is a description > > > > > > > > How can i do it? > > > > i see two possibilities: > > > > - Overwrite the java class that take data from the database and send > them > > to manakin in order to decode the html > > > > > > - working at Mankin level(but it seems me pretty much more > complicated):in > > the file DIM-Handler.xsl > > > > > > ... > > <-- call > some > > html decoder here > > ... > > > > > > > > I'm sure i'm not the first one who had this need... and i can see some > > security issues concerned with the solution > > can somebody give me some indication or "a solution"? > > > > Thank you very much > > Antonio > > > > > > ___ > > Dspace-general mailing list > > dspace-gene...@mit.edu > > http://mailman.mit.edu/mailman/listinfo/dspace-general > > > > > > > -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ___ > Dspace-devel mailing list > dspace-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-devel > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] show HTML data
dear D-Space developer/user i have a question: i have some html code in my Database in the description field, of course the html have been transformed in plain text. so the database entry is: hello it is a description when DSpace shows the database content it actually shows the text: hello it is a description while i wuold like to say the html resoults instead: *hello* it is a description How can i do it? i see two possibilities: - Overwrite the java class that take data from the database and send them to manakin in order to decode the html - working at Mankin level(but it seems me pretty much more complicated):in the file DIM-Handler.xsl ... <-- call some html decoder here ... I'm sure i'm not the first one who had this need... and i can see some security issues concerned with the solution can somebody give me some indication or "a solution"? Thank you very much Antonio -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Arabic Support in Dspace
Thank you very much. After a period I have been busy with other internal job i can now go back to this! The link to the page doesn't work, it takes too much time to be opened and a have a time out error message. I tried many time during the last week and i can browse pretty easily so i think that the problem is on the server-side. Anyway i want to ask you if the customization done are for JSP interface or for the manakin or for both. Thank you Antonio On Sun, Jun 14, 2009 at 4:49 PM, Saeed Moaddeli wrote: > Hi Antonio, Valorie and Dspace-general > Thank you all. > @Antonio > The single answer to all your questions is Yes. We have done these for > Persian language and the same is easily possible for Arabic. The pre-launch > version of our repository is accessible here: > http://sohrab.eiah.org/arch/?locale=fa > We'll be glad to help you and share our experience about localizing Dspace. > So take a look at our repository and if you needed more details, just drop > me a line. > > P.S. Many thanks to Valorie and Michele for this connection. > > On Wed, Jun 10, 2009 at 11:16 PM, Valorie Hollister wrote: > >> Hi Saeed - >> >> I am the Community Outreach Manager for the DSpace Foundation. I really >> enjoyed your presentation of EIAH via video conference at OR09 a few wks >> ago. You all have done a tremendous amount of work customizing the platform. >> >> I'm not sure if you are on the mailing list for DSpace -- but there is a >> request (see below) that seems like something you may be able to help with. >> Would you please connect with Antonio and share your experience? >> >> Thanks in advance - >> >> Valorie Hollister >> Community Outreach Manager >> DSpace Foundation >> >> >> - Forwarded message from mich...@dspace.org - >>Date: Wed, 10 Jun 2009 10:38:14 -0400 >>From: Michele Kimpton >> Reply-To: Michele Kimpton >> Subject: Fwd: [Dspace-general] Arabic Support in Dspace >> To: Valorie Hollister >> >> Can we hook these guys up with the Iran presenters? Michele >> >> >> Begin forwarded message: >> >> From: Antonio Cuomo >>> Date: June 10, 2009 10:13:52 AM EDT >>> To: dspace-gene...@mit.edu, dspace-tech < >>> DSpace-tech@lists.sourceforge.net > >>> Subject: [Dspace-general] Arabic Support in Dspace >>> >>> Hi dspace community, I'm writing to ask if D-Space support the Arab >>> language: >>> >>> Does D-space come in Arabic ? >>> >>> has DSpace the support to allow typing from right side to left side? >>> (e.g. http://www.google.co.ke/language_tools?hl=ar all the input form >>> use the right left sense) >>> >>> Thank you very much! >>> Antonio >>> ___ >>> Dspace-general mailing list >>> dspace-gene...@mit.edu >>> http://mailman.mit.edu/mailman/listinfo/dspace-general >>> >> >> >> >> - End forwarded message - >> >> >> >> >> Can we hook these guys up with the Iran presenters? Michele >> >> Begin forwarded message: >> >> *From: *Antonio Cuomo >> *Date: *June 10, 2009 10:13:52 AM EDT >> *To: *dspace-gene...@mit.edu, dspace-tech < >> DSpace-tech@lists.sourceforge.net> >> *Subject: **[Dspace-general] Arabic Support in Dspace* >> >> Hi dspace community, I'm writing to ask if D-Space support the Arab >> language: >> >> Does D-space come in Arabic ? >> >> has DSpace the support to allow typing from right side to left side? >> (e.g. http://www.google.co.ke/language_tools?hl=ar all the input form use >> the right left sense) >> >> Thank you very much! >> Antonio >> ___ >> Dspace-general mailing list >> dspace-gene...@mit.edu >> http://mailman.mit.edu/mailman/listinfo/dspace-general >> >> >> >> > -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Arabic Support in Dspace
Hi dspace community, I'm writing to ask if D-Space support the Arab language: Does D-space come in Arabic ? has DSpace the support to allow typing from right side to left side? (e.g. http://www.google.co.ke/language_tools?hl=ar all the input form use the right left sense) Thank you very much! Antonio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] ajax-dspace 1.5
Hi, I want to use ajax on dspace 1.5. I'm looking around for some instruction but the only thing i found was an how to for D-Space 1.3 http://wiki.dspace.org/index.php/Autosuggest_using_AJAX now the paths are very different so i have no clue how to use for the 1.5 Does anybody have any suggestion? thank you very much Antonio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Language customization
Hi d-space community, please let me me ask you a couple of questions: - where can i find a list of the supported language in d-space? I'm having some unexpected problem with Portuguese and Arabic... since they are very popular language I expected to find it supported by d-space... am i that i'm doing wrong? i used the abbreviation por for Portuguese and ara for Arabic (ISO standard) webui.supported.locales = en, fr, es, swa, ara, por (swa is Swahili) Am I correct? Thank you Antonio -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dspace-FCKeditor
Hi, I want to integrate D-Space with the FCKeditor... can you please suggest me any forum or any source for have some instruction? Thank you Antonio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dpsace and FCKeditor
Hi, I want to integrate D-Space with the FCKeditor... can you please suggest me any forum or any source for have some instruction? Thank you Antonio -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Add meta data to the dublin core - any possible inconvenience?
Hi! To describe our Capacity building material we need to use some metadata that are not in dublin core (like the web url). I have then to add new metadata, my question is: is it better to add metadata to the dublin core schema or to create a new schema and define the new metadata needed in the new schema? Is there any problem for the on-line user to use ad-hoc created metadata once we will publish our data on line ? Thank you very much -- Antonio Cuomo Africa Interconnected-Parliaments Action Plan http://www.parliaments.info/ Nairobi - Kenya Telephone : +254-20-374 9892/3 Fax : +254-20-374 9894 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Modify the upload step behavior in the submission process
Hi all, I have a question about the Upload step in the submission process: Playing around with the item-submission.xml and the input-form.xml I have been able to customize my submission process... But: modifying the item-submission.xml file i can only choose to keep or not the upload step but I can not change its behavior: I want to have the possibility to choose in every submission when upload something or just keep submitting leaving it blank... how can i do it? Is there some configuration I am missing? Should I modify the processing-class? and in case where is it located? Thank you -- Antonio Cuomo Africa Interconnected-Parliaments Action Plan http://www.parliaments.info/ Nairobi - Kenya Telephone : +254-20-374 9892/3 Fax : +254-20-374 9894 -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Modify the upload step behavior in the submission process
Hi all, I have a question about the Upload step in the submission process: Playing around with the item-submission.xml and the input-form.xml I have been able to customize my submission process... But: modifying the item-submission.xml file i can choose only choose if to keep or not the upload step but can not change the its behavior: I want to have the possibility to choose in every submission when upload something or just keep submitting leaving it blank... how can i do it? Is there some configuration I am missing? Should I modify the processing-class? and in case where is it located? -- Antonio Cuomo Africa Interconnected-Parliaments Action Plan http://www.parliaments.info/ Nairobi - Kenya Telephone : +254-20-374 9892/3 Fax : +254-20-374 9894 -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Force the dubling core or add new metadata?
Hi All, We need to store some meta data that are not provided by the Dublin core... Those data are: - Macro-region in who's jurisdiction the resource is exercisable or the document is about. (it's supposed to be an enumerate North Africa, East Africa etcetera) - Country the country in who's jurisdiction the resource is exercisable or the document is about - url link to the document (since we have some copyright issues that don't allow us to upload the material in our repository) so I have 3 question: - Is it better to "force" the dublin core assigning those values to metadata that can have similar purpose or add metadata description to the dublin core? - if you suggest me to "force" the existing metadata can you make some soggestion? (expecially for url link) - In case i will have to add new metadata definitions is it more suitable to extend the dublin core dc.area.countryEgypten dc.area.regionNorth Africaen dc.link www.just_a_test.com or to create a new schema (considering that appart of this 3 cases i will continue to use the dubling core definitions) apkn.area.countryEgypten apkn.area.regionNorth Africaen apkn.link www.just_a_test.com Thanks to everybody! -- Antonio Cuomo Africa Interconnected-Parliaments Action Plan http://www.parliaments.info/ Nairobi - Kenya Telephone : +254-20-374 9892/3 Fax : +254-20-374 9894 -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech