similar to: rxml with xsl

Displaying 20 results from an estimated 100000 matches similar to: "rxml with xsl"

2008 Jul 03
1
Include xsl template in .rxml file
Hello, I have the following code: xml.instruct! :xml, :version=>"1.0" xml.instruct! ''xml-stylesheet'', :href=>''/stylesheets/java_app.xsl'' xml.blueman do xml.response do xml.code(@response.code) @response.url ||= "" xml.url(@response.url) @response.message ||= "" xml.message(@response.message) end end But when
2006 Mar 16
1
script.aculo.us in xsl
Hello, first of all, sorry for my English, I´m a Spanish student and I´m having some problems with script.aculo.us. These are the following: I have a XML file like this: <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" href="barraNav.xsl"?> <barraNav> <boton>
2005 Nov 24
1
XSL Content-type
Hello! I have created XLS stylesheet that generetes .m3u list of streaming content via my icecast2 server. That is just simple remake of status.xsl. But I got stuck. When I request it via http://serever/list.xsl - my winamp doesnot accept the m3u generated file. I began to research. The main problem is "Content-type" which gives me the icecast. It gives me text\html and I need
2004 Aug 06
2
Custom .xsl files?
On Thursday 22 July 2004 04:56, Myke Place wrote: > I'm curious if it is possible to create custom .xsl files in the /admin > directory, using the same xsl params that appear in in the web > interfaces that ship with Icecast2. Yes. Though I don't know if using an arbitrary one works from the admin directory. Certainly you can put them in icecast's webroot directory (or some
2012 Dec 11
2
Adding additional mount info to xsl stylesheet
The following patch attempts to make the source client user agent and the max listener client connection duration information available to (icecast 2.3.2) xsl stylesheets. Will there be any memory leak issues in the lower level functions like the acl, etc. when the source is disconnected, when servicing queries, or otherwise? BEGIN icecast-2.3.2-moremntinfo.patch diff --git src/source.c
2013 Jan 05
0
Adding additional mount info to xsl stylesheet
reflum, On Mon, 2012-12-10 at 20:18 -0800, Byron Young wrote: > The following patch attempts to make the source client user agent and > the max listener client connection duration information available to > (icecast 2.3.2) xsl stylesheets. Thanks for your work. Does the diff still apply to current trunk? If not please send an updated version. > Will there be any memory leak issues
2006 Sep 26
0
Is it possible to render RXML partials in RHTML templates?
I have a RHTML template and I would like the output of a RXML partial to be embedded within it. When I do <%= render(:partial => ''list_edit'') %> where there exists a _list_edit.rmxl file, I get XML parsing errors in the browser - I believe because the partial is causing the rendered content to be identified as XML instead of HTML. Is there any way to
2008 Apr 20
1
Why is respond_to always rending the RXML view?
I''m having a problem in Rails 2 where respond_to is always rendering the RXML view even in the HTML rendering response. Can anyone tell me why this might be happening? Here''s a code snippet: respond_to do |accepts| accepts.html accepts.xml { render :action => ''show.rxml'', :layout => false} end If I change this to the following it works fine:
2018 Mar 12
0
IceCast Listenter Count Stat - BASH or php?
Hello, On 08-03-18 05:54, ScanCaster wrote: > Is there some simple way to get just the listener count on mounts out of > IceCast, specifically 2.4.1 > > Via BASH preferred, or CLI php if I must, I guess python 2.x would be an > option too. (3.x is not an option though!) > > All the stuff I've seen is scrapping things from the status.xsl, which is > bad form. Well,
2006 Nov 07
0
rxml template accidentally rendered within html layout
Hi, I have the following in my controller: def show @quest = Quest.find(params[:id]) respond_to do |format| format.html format.xml end end And in my routes: map.resources :quests I have two views for this action, quests/show.rhtml and quests/show.rxml. Now what I would expect as a response to ''/quests/1.xml'' is that Rails sends, as XML, the rendered rxml
2006 Dec 12
2
RXML partial question
All, I have a RXML template which renders partial RXML templates within it. A snippet is below. The "xml" variable is the parent template''s Builder variable. It is passed into the partial under the name "parent_xml". Why can''t I use :locals => {.... :xml => xml ....} in my call to render the partial? It seems like if I do use :xml => xml, it
2006 Feb 17
1
Scriptaculous XSLT-sheet available for download
Hiya! Being very impressed and pleased with scriptaculous I decided to add several features of it into a Web Publishing System I’m building. This WPS (as I fondly call it) makes extensive use of XML/XSLt translations. To offer some nice visual effects to customers I made a XSL-stylesheet which allows my customers to access these effects by enclosing some content into scriptaculous-tags. I decided
2015 Mar 13
1
IceCast status - raw XML output
Please add the following XSL file to IceCast distribution (web directory). It returns IceCast's state in raw XML form. <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <xsl:output indent="yes" encoding="UTF-8" /> <xsl:template match="@* | node()"> <xsl:copy>
2007 Jun 26
0
Best way to render KML files using RXML templates
I want to produce google maps KML files which are baiscally XML files with a KML extention. I''m using restful routes and respond_to. The best way I''ve found is to use respond_to do |format| format.kml { render :action => "kml" } will render a kml.rxml template I have but really I want to have action.rxml rendered for kml files. Is there are way to acheive this,
2018 Mar 14
0
IceCast Listenter Count Stat - BASH or php?
just parse status-json.xsl with php's curl/json_parse... ScanCaster: > On Mon, 12 Mar 2018 22:07:34 +0100, Jeroen van Oosten wrote: > > > Well, you can create your own XSL with less data. I use this (as > > web/simple.xsl): > > Well since I don't know XSL, BASH etc. was my go to choice... > > BUT... > > Doing this gets > 404's from a
2014 Nov 14
0
Pyhton Class/library for Icecast 2.32 Stats and other info access?
On Fri, 14 Nov 2014, Dean Sauer wrote: > In a search for access to various ways to interact with Icecast via > Python, I ran across this: > > http://xiph.org/~brendan/pyshout2/pyshout2-0.0.1.tar.gz > > Which is now dead (404). I don't think this library would have helped. I expect it would be useful for source clients to send media to a server. > I have a need to be
2005 Dec 27
8
XML Not Working in Explorer 6
I''m playing with XML using Builder but seem to be having some trouble in Explorer 6. My sample code: xml = Builder::XmlMarkup.new xml.instruct! xml.instruct! ''xml-stylesheet'', :href=>''/stylesheets/style-xml.css'', :type=>''text/css'' xml.declare! ''DOCTYPE'', :html, :PUBLIC, "-//W3C//DTD XHTML 1.0
2006 May 30
2
No rhtml, rxml, rjs... problem with Action Mailer, again
Hi all I have seen a lot of people writing my same problem but I haven''t found the solution yet. This is the problem: "ActionView::ActionViewError in Periodico#index No rhtml, rxml, rjs or delegate template found for..." when trying to send email through action mailer. I have created the Notifier.rb model (in app/models/ folder) def signupthanks(user) # Email
2006 Feb 02
1
actionmailer - No rhtml, rxml, or delegate template
I''m getting this error when I try to send an email. No rhtml, rxml, or delegate template found for signup_thanks But I do have signup_thanks.rhtml in app/view/notifier This is in the notifier model. class Notifier < ActionMailer::Base def signup_thanks(sent_at = Time.now) @subject = "the subject works!" @body["first_name"] = "first name"
2006 Feb 18
1
Should assert_tag be used to test rxml views?
I''m getting strange errors attempting to test an rxml view with assert_tag. I can see that what the view is producing is correct but I get an error like "ignoring attempt to close foo with bar" (where bar is a tag which is meant to be nested in foo). Is asssert_tag meant for xml, or just html? Cheers, Robert. -- Posted via http://www.ruby-forum.com/.