-
Website
http://HuddledMasses.org/ -
Original page
http://HuddledMasses.org/wordpress-plugin-textile-20/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Clint Ecker
1 comment · 5 points
-
avenzke
1 comment · 1 points
-
Euri
1 comment · 4 points
-
Stuart
1 comment · 1 points
-
Luciano Evaristo Guerche
1 comment · 1 points
-
-
Popular Threads
can't seem to get it to work... i put it in the my-hacks.php file and get back this "Fatal error: Call to undefined function: remove_filter() in /home/bright/public_html/bwp/my-hacks.php on line 389" when going back to any page in the admin... so for now i've deleted the entry in the my-hacks.. thanks brian
add_filter('the_excerpt_rss', 'textile', 6);
However, I wouldn't do that, myself. The excerpt is put into the rss "description" tag, which really ought not to have HTML in it, IMHO [;)]
The problem is that Textile allows HTML code through, but it still wraps everything in
tags wherever there's a blank line. [:(] I'm not sure if there's anything you can do about it ... I suppose it's possible, if the <notextile> solution works, that a script could be written to put that on all your existing posts...
1)
!*''#^"`$$-
!*=@$_
%*
~#4
&[]../
|{,,SYSTEM HALTED
2)
^< @<.@*
}"_# |
-@$&/_%
!( @|=>
;`+$?^?
,#"~|)^G
What I get when I attempt to save this, whether I enclose it in <notextile> tags or no, is
Fatal error: Call to undefined function: detextile() in /homepages/33/d89062730/htdocs/wp-content/plugins/textile2.php on line 476
Any ideas?</notextile>
An alternantive ??
As far as French ... I don't really know what it's doing to your characters ... do you have a sample? Can you try putting a few of them in here?
I don't want to get into a whole debate about how to specify language tags, but Dean Allen _is_ French ...so it seems like it should work [;)]
Thanks ...
Test lower case: A? (ae) A? (oe) A? (aa)
Upper case: A? (AE) A? (OE) A? (AA)
When running Textile2 my "special" characters don't show up in the post, but tthe heading are still ok.
It seems like the plugin ignores words with this characters.
The result is a bunch of dead links throughout comments. Seems likely that commenters would add such things (Cool!!!) etc., so the choice of ! as a bounding tag for imageurl was not a good one.
I tried hacking the code, but I'm not clear which other characters are allowable and not reserved in php, etc., for other things.
Any ideas how to fix this?
Second, I found a bug... successive posts on the front page of a Wordpress that use the footnote[1] markup all use the same tag on the anchor (#fn1). This means that earlier posts (further down the page) have footnotes that point to the first #fn1 anchor. Maybe the anchor should reflect the slug for the post or a GUID or something?
fn1. I really like footnotes.
You certainly deserve thanks for making and hosting the Textile plug-in, but his one word comment is contentless; all he wants is the link back to his site. You should delete his comment. Bastard comment spammers!
Gary: I'm not clear about the !!!!! thing ... it's not happening on my blog, so I don't know what to tell you. *However*: To turn off images: convert the function textile around line 947 of the 2.4 plugin to this:
function textile( $string ) {
$textile = new Textile;
return $textile->TextileThis($string, $noimage=true);
}
David: Well, I don't quite see your problem[2] either. You just put the square brackets around the number, and it makes a footnote to that number. Seems to be working here on my page?
I just noticed I'm using a slightly different version (all I did was make some changes that make Beautifier work a little better), but just to be sure, I'm linking it in the main article above.
Oh, and one last thing ... Crazy Bob (aka SEO Expert) isn't an SEO Expert *or* a Google bomber. He's actually something of a Google spoiler ... as you'll see if you click through his link. [laughing]
fn2. In other words, not a problem for me.
If you change the expression to include \s* between the "optional dot-space" expression and the "presume this is the src" expression, these are parsed correctly.
I think the use of all the non-hungry expressions is the cause. Having at least one "semi-hungry" expression helps anchor the others.
I spent like 30 mins trying to figure out why the plugins wouldn't work (since I couldn't find them at the textile SITE! I found them here... only to discover that the files are all formatted in HTML!!!! WHYYYYYYYY
So I copied the code from the rendered html into a text file and now it should work fine :)
Just thought you should either provide a raw text version, and/or point out the fact that these files are not just plain ol' php files... (i just "save file to disk"ed them...)
Thanks for providing the files though!
Cheers :)
For example, a href="test__program_screenshots.jpg" is translated a href="_programscreenshots.jpg ('em' tags in attributes! :( )
I hope this issue is fixed soon.
Thanks.
I just played around with it a little bit (after I've become used to Textile thanks to instiki) and found a small problem with it. In the block function when you try to determine if the current line starts a pre-block or not, you only accept pres without arguments.
@@ -437,7 +437,7 @@
array_push($text, " ");
foreach($text as $line) {
- if (preg_match('//i', $line)) {
+ if (preg_match('//i', $line)) {
$pre = true;
}
==
*hello*
==
"hello" is still strong :(
It seems that the Textile2.5 plugin fails to create a block quote when the first thing following it is a textile encoded link:
==
bq. "Wordpress":http://www.wordpress.org
==
Also appearantly the MT plugin has some innovations like extended blocks, that I found really handy. I could enter ===bq..=== and it would blockquote everything until the next block idenfitier (usually a ==p.==). It would be very cool to be able to use this in Wordpress too.
Anyway, is it possible to turn that one feature off (possibly "+", too, because I might want to use a + in my texts sooner or later...
Which leads me to the question: If I use Textile, I can't post mathematical content, right?
Hopefully that will solve all the download problems people have had.
However, I'm having some extreme difficulty with escaping. I use the "AdSense Deluxe":http://www.acmetech.com/blog/2005/07/26/adsense-deluxe-wordpress-plugin/ plugin, and this uses tags in the form of an HTML comment (< !–- comment -->) to insert a block of code (usually adsense code). For some reason though, no matter how I try to escape this small block, it will be textiled. If I leave out the escape characters then the first four characters vanish (the left tag, exclam. mark and the two dashes). If I surround it with escapes then I get @@ tags instead, with the whole comment showing. Neither shows an advert :)
This didn't happen in Textile1, but I need 2's functionality because 1 was being a pain wrapping p tags around everything. Can anybody help?
Try viewing the source of this page. There should be two comments, one on either side of the bold "comments" above. You can also look at the post I made for the recent "Textile 2.6 release":http://www.huddledmasses.org/2005/10/03/textile-plugin-26-released/, there's a comment right in the main post that says "there's a Jaykul comment here" so I'm sure it's not Textile stripping it out...
Which version did you grab?
About the block quote, I'm not sure why it doesn't work in that spot, but I have no intentions of adding features to Dean's Textile parser, I want to keep them the same so that people can trust his documentation. The best bet is to raise this question on "his blog":http://www.textism.com/ or "textpattern support forums":http://forum.textpattern.com/
The @< notextile >@ blocks, and double = blocks work now, too (in 2.6) so I think most of the problems have been cleaned up.
I just updated to 2.6 and I'm making some progress: now if I use the notextile tag the whole ==== part appears, but textile is still doing something since it's changing the to HTML chracters (of the & number ; type). I can understand your plugin isn't at fault, it appears to be a problem with the generator code, but it's a little frustrating. Feel free to email me if you rather wouldn't post a huge discussion in your comments page :)
Once again, thanks for your help so far.
==inside a tag==
==
lots of code ought to be able to go here
emphasized and strong, and all sorts of stuff.
The idea is that *stars* should stay *stars* and _underscores_ too!
==
%==Hypothetically, this ought to be in a span tag.==%
I've sent a bug report from that page to Dean Allen.
print ("Hello World");
I see the pure HTML tags for the syntax highlighting. WordPress is not rendering the HTML for some reason.
i tried using a Textile plugin that skipped over pre tags (what i was using to contain the source code) but it was just messing it up even more (wrapping the pre tags in another set of pre tags, then just generally messing with the html)
at the moment i have just disabled the source highlighting until i can find a working configuration.
h6. Perl:
$foo = $_;print $foo;
h6. Html
<div class="somesillytestcode">
This is a paragraph with a bold word in it.
This is another paragraph with an emphasized word in it.
</div>
link attribute test: "(oops)link text":/url
I assign an "ext" class to all my external links. The parser bug is most frustrating. :-(
PLEASE feel free to file bug reports:
http://www.textism.com/tools/textile/index.php