similar to: Does Rails suppports XHTML for views for inline SVG''s?

Displaying 20 results from an estimated 3000 matches similar to: "Does Rails suppports XHTML for views for inline SVG''s?"

2006 Apr 25
1
IvyGIS --- Rails Engine for custom maps.
Hi. I''m announcing a Rails Engine for presenting maps based on your own data, either rendered by Mapserver, or pulled directly out of geometric database tables stored by PostGIS. There''s a demo here: http://ivygis.mgxkernel.com:3000/canada which shows a tiled, draggable version of a Mapserver demo map, with mouse-sensitive park polygons and railroads (SVG in Firefox 1.5+,
2006 Jul 21
5
Reports in Rails
Hi, In my rails application I want to include a reporting mechanism that will allow the users of application to view statistics of various operations graphically. Does rails provide inbuilt reporting capabilities? what are different appraoches I can follow to achieve reporting in rails? On googling I found following as some of the options, 1.Gruff Graphs for Ruby 2.SVG 3. using Apache FOP.
2006 Nov 04
6
Javascript form validation for In place editting in scriptaculous ?
Is there a way by which I can do form validation for form generated by In Place Editting of scritaculous? The reason is, I want to avoid server roundtrip for checks which I can perform at browser. Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060828/ca882668/attachment-0001.html
2008 Mar 24
2
render not able to locate template in publisher
Hi guys, I have a publisher called UserPublisher setup in models directory of my app. The reason I have it in a model is because its then possible for me to invoke publisher methods in after_callbacks of my other models, just the way we do it for ActionMailer. My problem is that when I try to update a users profile specifying location of the view template as a paramater to "profile"
2006 Jul 18
2
Write a new generator
Hi, Could anyone point me to how to write a generator in Ruby? I was going through code in ruby files at \rails-1.1.2\lib\rails_generatorand found that it reads gems specification to look for generator s present on the system. The way there are tutorials on how to create plugins for Rails, are there any for Generators? At the end of it I should be able to do something like this ruby
2008 Mar 25
7
Facebooker::Session::SessionExpired (Session key invalid or no longer valid)
Hi All, I''m having horrible problems with this exception, which seems to happen as soon as I access the session object. Does anyone know what the path is to recover from this? This post looked to be the most promising: http://rubyforge.org/pipermail/facebooker-talk/2007-December/000047.html And I followed all of the steps except switching my session store, and modifying the default
2006 Jun 05
1
starting a non blocking child process
>From a ruby program I would like to start another process which should continue to run even after the parent process dies. Is there any way I could achive this? >From the child process I want to start an instance of SCGI server which should continue to run even if the parent process dies. Thanks in Advance, Jatinder -------------- next part -------------- An HTML attachment was
2006 May 24
4
AR foreign key problem.
Hello Railslist, (I''m using RadRails 0.6.3 on Windows XP with Ruby 1.8.4, Rails 1.1 and SQLite3) I have two tables in the database: "locations" and "customers": customers.sql --- id INT PRIMARY KEY name VARCHAR 255 address VARCHAR 255 postal_code VARCHAR 255 city VARCHAR 255 --- locations.sql --- id INT PRIMARY KEY postal_code TEXT longitude FLOAT latitude FLOAT
2008 Nov 12
1
Theora promotion material
Hi all, A while back I wrote in about wanting a theora promotion video. Having a few lazy minutes left in the day, I decided to do some coding to create a small movie. However, I encountered two problems: - The artwork completely &$@(%sses, but then again I'm no artist. - How do you actually embed the movie into a SVG file? Otherwise I'd go for HTML but a working example would be
2006 Mar 11
8
SVG in Rails
How can I show an SVG image in a view - I only see how to use jpgs or pngs -- Posted via http://www.ruby-forum.com/.
2011 Mar 07
5
Parsing question, partly comma separated partly underscore separated string
Dear R-list, I have a partly comma separated partly underscore separated string that I am trying to parse into R. Furthermore I have a bunch of them, and they are quite long. I have now spent most of my Sunday trying to figure this out and thought I would try the list to see if someone here would be able to get me started. My data structure looks like this, (in a example.txt file) Subject
2007 May 28
1
svg as a spescial case for image
SVG starts to become more useful in browsers like Firefox, OmniWeb, Opera and soon Safari. There is a couple problem. Since no browser support svg embedded with img one need to fall back to html from: <object data="/path/to/img.svg" type="image/svg+xml" width="512" height="384">Alt text</object> Second, one need to write the width
2019 Jun 19
3
point size in svg
Hello, All: ????? I'm unable to control the font size in plots to svg.? Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'), ????????? cex=cex.) dev.off() ????? When I open this in Gimp 2.10.4, the font size is tiny.? I also tried: svg('cex-svg.svg', width=15, height=15, pointsize=24) cex.
2006 Mar 27
2
svg image link
the link_to command is really nice, especially with confirm built in - wondering if there is a way to use it with SVG images since SVG doesn''t seem to work with image_tag I can display svg images (in Firefox) with the following code: <embed width=32 height=32 src="/images/quit.svg" type="image/svg+xml"></embed> "normal" link_to code:
2011 Mar 14
2
svg malformed on CentOS (epel R)
There is an issue with the default svg device on a centos workstation that I am using. It does not result in an error, but it produces malformed svg images. Exactly the same script works just fine on an ubuntu box. On Ubuntu I am using R binary that comes with maverick, on centos I am using the latest R binary from EPEL. Other than that both boxes are pretty clean, with only the dependencies
2006 Mar 17
6
SVG showstopper
We seem unable to get SVG running under Rails with apparent memory conflicts between the SVG xml object and parameters. For us, unless we can get SVG running okay under Rails, it is a showstopper for us to use Rails. There seem to be only 2 examples out there for SVG, the graph project that actually converts SVG to another image format (way too cumbersome/unworkable for our needs) and the
2023 Mar 07
1
insert hyperlink into svg graphic
This was actually the first thing that ChatGPT debugged for me. The issue was that I was able to click on the link when I displayed the raw SVG in the browser (you can use that to test whether the syntax is even correct), but not when the svg displays inside a html page with the <img ...> tag. ChatGPT correctly identified the issue and suggested a solution using <object ...> tags
2010 Sep 29
1
svg plot and dashed lines
Dear users, When I boxplot(), the lines of the whiskers are dashed. However, when I save in an svg file, the dashed lines of the whiskers are not dashed anymore. How can I have the dashed lines in the svg file? I don't have this problem with a ps file, but I cannot edit such file as easily as an svg file. That's why I'd like to stick to the svg format. Thanks in advance, Ivan df
2023 Mar 08
1
insert hyperlink into svg graphic
Hi On 8/03/23 15:27, Rusty Travis wrote: > On 3/7/23 13:12, Paul Murrell wrote: >> Hi >> >> I think the main issue here is that you are *drawing* text on the >> graphics device, so I would only expect to see literal XML text output >> in the result. >> ''' >> >> Hope that helps > > Thank you for your consideration of the
2007 Jun 11
5
Problem with RSVGTipsDevice
Hi there. I am still trying to get the RSVGTipsDevice to work, yet I can not. I have copied the first example from RSVGTipsDevice documentation: library(RSVGTipsDevice) devSVGTips("C:\\svgplot1.svg", toolTipMode=1, title="SVG example plot 1: shapes and points, tooltips are title + 1 line") plot(c(0,10),c(0,10), type="n", xlab="x", ylab="y",