Displaying 20 results from an estimated 300 matches similar to: "Outputting XHTML strict"
2005 Mar 09
21
Converting time retrieved from MySQL
I''m having a problem converting a date retrieved from my MySQL database
and I''m hoping someone can help.
MySQL stores the date/time as this:
2005-03-08 17:00:34.0
and according to my Pickaxe book Ruby stores times as "the number of
seconds and microseconds since [...] January 1, 1970". All well and good.
Unfortunately, RoR is converting my date to this:
2005 Mar 10
6
problems with ActionMailer
I''m having some problems with ActionMailer and I''m hoping that someone can
help. I''ve followed the tutorial on "How To Send Emails With Action
Mailer" <URL:
http://wiki.rubyonrails.com/rails/show/HowToSendEmailsWithActionMailer >,
I''ve generated a mailer -- "notifier.rb" -- and I''ve added the following
method to the
2005 Mar 30
35
Respect and Disappointment
I''ve finally started a blog. I really didn''t want to go public with it
until I was sure I keep it up, but DHH posted a entry to his blog that I
feel compelled to comment on.
You can read about it on my blog:
http://www.bloglines.com/blog/CurtHibbs
Curt
2005 Mar 02
9
date validation
I''m hoping someone can help me (a Rails newbie) with this. Basically, I
need to verify that a date created with "date_select" is valid *before*
it''s sent off to the database for acceptance (as a valid date) or
rejection (as an invalid date). Given how easy the majority of validation
are in Rails, I''ve got to believe there''s a fairly simple way
2015 Jan 23
2
from Cyrus to Dovecot, seen status on cyrus.index files
2015-01-23 4:20 GMT-03:00 Marc St?rmer <mail at marc-stuermer.de>:
>
> Zitat von Norberto Bensa <nbensa+dovecot at gmail.com>:
>
> Does anyone use cyrus2dovecot for migrations? If so, how do you deal with
>> seen status when it is stored in the .index files?
>>
>
> Why don't you use the migration tool that comes with Dovecot bundled
> instead,
2008 Dec 05
0
Rails asset tag helpers outputting invalid xhtml
I am using Rails 2.1 and HAML for some, but not all, of my templates.
All of the self-closing asset tags (<link>, <img>) output by the rails
asset tag helper methods are not being closed at all, thus rendering my
pages as invalid XHTML. Has anyone else dealt with a similar problem? I
am completely out of ideas, so if you have any suggestions, by all
means, fire away. Thanks.
--
Posted
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
Thanks to everyone who responded to my first set of questions. Not only did I
get my questions answered but I improved my code and learned a couple new
things.
I think I prefer the mailing list over IRC... easier to follow :-)
I have some more questions if you don''t mind. Some are Rails related and some
are Ruby related.
1) This is concerning displaying error messages. I am assuming
2006 Jul 19
0
Form helpers produce invalid XHTML code!
Hi all
The following scaffold creation form code...
<%= start_form_tag :action => ''create'' %>
<%= render :partial => ''form'' %>
<%= submit_tag "Create" %>
<%= end_form_tag %>
...creates this HTML colde:
<form action="/en/bookings/create" method="post">
<!--[form:artist]-->
2006 Jul 22
2
XHTML validation for functional tests
Hi,
Is there anyway to validate XHTML during functional tests?
Thank you,
Jean-Etienne
--
Posted via http://www.ruby-forum.com/.
2006 Jun 08
0
Is possible to mantain a co0l blog without broke XHTML?
I started to write content in textarea in HTML then I migrated to
BBCode, then I came back HTML thanks to TinyMCE, now I see with interest
textile and markaby, but will they be "THE solution"?
As "internal" language anybody is free to use the language he/she
prefers but about the future? Probably you won''t be able to reuse it in
another platform/cms
Anybody wants
2006 May 11
1
Doctype -- utf-8 -- html vs xhtml
I was simply trying to write the DOCTYPE line at the top for UTF-8 and got confused.
What doctype do I use with rails for utf-8 files?
If I put in all the damn closing tags on paragraphs and hr and br and all that will the
stuff pass xhml inspection, or will rails insert something I haven'' yet noticed.
Warren
-------------- next part --------------
An HTML attachment was
2006 May 24
0
Valid W3C XHTML Code?!
Hi there,
i was just asking myself what i can do get my ruby site valid to the w3c
specs. my biggest problem is the auto-generated html code of the link_to
function which gives the form field an id value which includes an array.
that rises the following error:
Line 45 column 20: character "[" is not allowed in the value of
attribute "id".
<input
2005 Sep 29
0
scriptaculous: Filed Bug #2339: XHTML comments can cause Firefox to throw an error on Sortable.create()
The Wiki page "TheWishList" indicates that bugs should be reported
into Trac and to this list.
The bug report is here:
http://dev.rubyonrails.org/ticket/2339
Description:
If there is an XHTML comment in a document at the same level as the
elements that are being activated by the Sortable, Firefox 1.0.6 will
throw this error:
Error: item.id has no properties
Source File:
2006 Jan 13
0
Fwd: [OT] Quick XHTML job
Hi,
I have two ten-page websites that I need produced quickly. I can pay
a reasonable rate; this isn''t an attempt to lowball--the priority is
speed and quality. I have all of the Photoshop files you will need to
understand the work you will be producing.
More parameters:
- Both websites should have identical html, but different stylesheets.
(like CSS Zen Garden)
- Both websites should
2009 Jul 09
0
Nested forms, dynamic elements and valid xhtml/DOM ids
Hi,
I would like to know if anyone has been able to implement correctly 2.3
nested forms and create dynamically (javascript) a bunch of nested
elements with their correct DOM ids.
I''ve seen Complex forms Railcasts but they use pre-2.3 nested forms.
I''ve seen Alloy solution but it is not working properly to me. When
creating more than two lines dynamically the id is repeated.
2012 Aug 27
1
Can't locate object method "html_charset" via package "Podwrapper::XHTML"
[Another one reported on IRC today ...]
http://paste.pound-python.org/show/25268/
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
2011 Jan 05
1
e-pub or downloadable xhtml of the manuals?
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/
This document has provided more information to me than I can adequately
express, and as masochistic as it sounds, I'd kinda like to pop a copy
on my nook and devour it. along with any of the other docs hosted on
the samba website. has anyone prepared epubs of the documentation? if
not epubs, than at least xhtml files in a zip
2008 Mar 14
1
Markdown doesn't always generate XHTML
Hello everybody,
I've just noticed that markdown doesn't always generate XHTML. In
particular the input
<script src="http://evilserver.net/evil.js">
generates the output:
<p><script src="http://evilserver.net/evil.js"></p>
(This is the markdown dingus at daring fireball, and the markdownj
implementation exhibits the same problem. I
2006 Jan 16
5
SIP hardphones with xml/html/xhtml/microbrowser support?
What hardphones support xml/html/xhmtl/microbrowser? I need an inexpensive
SIP hardphone that can run simple applications (queue status, etc).
The phones I know of:
Aastra 480i, 9112i, 9133i
(though limited by 3 LCD lines on the 91xx seems kind of silly)
Cisco 79xx
Mitel 5235
Polycom IP601
Any others?
-Dan
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi !
I'm getting an uncaught exception requiring the Scriptaculous
libraries when everything says XHTML 1.0 Strict:
class ApplicationController < ActionController::Base
before_filter :set_content_type
protected
def set_content_type
response.headers['Content-Type'] = 'application/xhtml+xml;
charset=ISO-8859-1'
end
end
<?xml version="1.0"