similar to: Limiting markdown/textile

Displaying 20 results from an estimated 3000 matches similar to: "Limiting markdown/textile"

2005 May 24
3
textilize/markdown/sanitize for messageboards, oh my!
Hullo, fellow Railsers! (warning: this isn''t a 100% Rails specific question, but I guess it very much applies to what a lot of us are currently doing.) For a project that involves messageboard functionality I''m looking for a good way of sanitizing user input, so the silly fools, err, my wonderful users don''t mess things up too much. I''ve played around with
2006 Apr 01
15
Ruby on Rails CMS released. Web 2.0, Ajax, etc
Eribium, a content managing system built with rails has been released completely free under the MIT License. http://www.eribium.org/eribium/?p=21 You can find a demo here: http://alexmaccaw.no-ip.info:3000/admin (user and pass are ''demo''). Some of the features include: * Completely Unobtrusive Javascript. * Liquid View, works with pretty much any screen resolution.
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2006 Jun 03
3
Disable Migration creation in generate Model
Hi.... Is there some way to configure Rails to not create a db/migrate/###_model_name.rb when I do a script/generate model ModelName? It''s a little annoying when I''m setting up a new application since I prefer creating all the first tables in a 001_inital_schema.rb file. Then when I generate models for those tables I get migration scripts for all of them again that I have to
2006 Aug 04
4
RSS feeds
Hi all, Can anybody tell me how we can create RSS feed using Ruby on Rails. How do I go about constructing this RSS file? Can I find an example in any site? regards, Prasad -- Posted via http://www.ruby-forum.com/.
2006 Jun 23
4
RedCloth
Help me!!!Lol I''ve been working with RedCloth but it''s runed my layout because it put the <p> and </p> is there a way to remove this without gsubing it up or if I do what the prettiest I can make it? -- Posted via http://www.ruby-forum.com/.
2006 May 31
1
RedCloth vs BlueCloth -- RTL and Unicode?
Which has better support for Unicode, I18N and RTL languages, RedCloth or BlueCloth? Warren -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060531/a2f1f7da/attachment.html
2006 Jun 16
4
duplicate entry issue in acts_as_taggable gem
Hi, I am using the ''acts_as_taggable'' gem and have issues when I try to ''tag'' an entity with a ''tagname'' already defined. i.e 1) book[1].tag(''science'',''paperback'') --> works fine 2) book[2].tag(''roman'',''physics'',''paperback'') --> creates an
2006 Apr 12
2
RedCloth versus BlueCloth efficiency
Has anyone profiled the performance of RedCloth versus BlueCloth? I''m starting to realise that RedCloth is a more mature ruby project, although Markdown the syntax maybe more widespread than Textilize. Apart from the syntax, does anyone feel they have a preference, in terms of performance or number of outstanding bugs? Many thanks in advance. CHEERS> SAM
2006 Apr 28
1
Redcloth is ..
I've been looking at Dean Allen's Redcloth, which claims to incorporate both Markdown and Textile, as implemented in Ruby by _why. While the code is clear and readable, the boundary between markdown and Textile is not. The documentation says # By default, Redcloth uses both Textile and Markdown formatting, with # Textile formatting taking precedence. If you want to turn off Markdown #
2006 May 29
19
WYSIWYG Editors and Rails
Hi everyone, I''m currently investigating re-writing our School CMS application in Rails and the only drawback I can see is there isn''t an ample supply (if any) of WYSIWYG In-browser editors written with a raw Ruby backend. We currently use KTML4 which is written with PHP as a base. I''m interested to hear from anyone who''s integrated a PHP based editor into
2008 Apr 10
5
Extending Bluecloth/Redcloth
I''d like to extend bleucloth or redcloth to support custom tags, e.g. I want to use markup like this: [pubmed:18332676] which shall be extended to: <a href="http://www.ncbi.nlm.nih.gov/pubmed/18332676">Behav Pharmacol. 2008 Mar;19(2):121-128.</a> Does anyone know, if this is possible and has some hints how to do this?! I have not decided, wether I want to use
2006 Jun 27
13
Campfire: Dissection
Campfire REALLY intrigues me... Its simple enough, yet the possibilities are endless once they get the API in place for it. I''m curious though, how are they handling they load with say 50 campfire sessions going and 20+ people in each session. There are a lot of AJAX.Requests going I''m assuming. Seems to me the server *should* be getting bogged down on the constant
2006 May 12
8
switching from development to production?
I think I''m missing a step here, but they don''t seem to cover this in the AWDWR book... does anybody know the various steps required to switch from development to production mode in Rails? I''ve scoured the application and changed everything that stands out, but the damn thing is still running off the development database and won''t connect to the production
2006 Mar 30
4
404 Error on dispatch.fcgi
I''m a java/php programmer trying out Ruby/Rails on my Dreamhost account. I followed the wiki steps to the letter (2x now) and am still getting a 404 when I hit my dispatch.fcgi. http://mydomain.com/public/dispatch.fgci Can someone give me suggestions on how to debug this problem? Here is my dispatch.fcgi file: #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log
2006 Apr 29
1
Textile to LaTeX
Hello, Is there a patch laying around somewhere to convert Textile to LaTeX? (Instiki did/does this?) Or, better yet, is RedCloth 3.1 still in the pipeline? In ruby-talk 129874 (7 Feb 2005), why the lucky stiff wrote: > > Let me give you a roadmap of what to expect with RedCloth 3 > in the coming months. > > RedCloth 3.1 will focus on getting us diverse outputs.
2006 Apr 01
2
Textile headaches
I have the newest version of RedCloth installed (3.0.4). I want the following output: <h1>Header</h1> <p>Some text</p> This is what I tried but no luck: irb(main):002:0> require ''rubygems'' => true irb(main):004:0> require_gem ''RedCloth'' => true irb(main):006:0> RedCloth.new("h1. Header\r\nSome Text").to_html
2007 May 27
3
Stripping out textile markup
Hi, I have several hundred pages of text, all carefully marked up with textile, which I use redcloth to convert to html for display. Now I find I need all these pages to alternatively output plain text - ie. A-Za-z0-9 and simple punctuation only. Any suggestions on the best way to do this? My only thought is to let redcloth do its stuff, and then strip out the html tags - but it feels wrong.
2006 May 11
3
Textile/RedCloth and h() incompatible?
If a user enters the Textile-based code for an image, say: !>graphic.png! the textile() method will successfully render a right-float image. Now, if I want to escape the user''s text using h(), the ''>'' is turned into an &amp;. Obviously, the image then fails to render in a browser. Is there a work around for this? I guess what I''m really asking
2006 Jun 02
3
Use a Model or Controller?
I am putting up a tool that connects to a subversion repository and checks latest revision and downloads the changeset log for all the changes made since last check and puts inside a hash for various uses inside the code. I am just wondering if the code that checks the subversion repo and reads it''s data should bolong to a controller of it''s own or a model of it''s own.