Subscribe to RSS feed Suscribirse al feed RSS or o follow me me siguen on Twitter? en Twitter?
Have you gaped in utter disbelief when the code you just posted on a blog (via post/comments) came back as some mumbo-jumbo, or even worse, broken that beautiful design? ¿Usted se abría en incredulidad cuando el código que acabas de publicar en un blog (vía correo o comentarios) se volvió como un galimatías, o peor aún, que los diseños hermosos roto? It happens all the time, thanks to the nature of HTML. Sucede todo el tiempo, gracias a la naturaleza de HTML.
There may be HTML characters embedded in the code, which the browser renders, causing 101 million errors. Puede haber caracteres HTML incrustado en el código, lo que hace que el navegador, haciendo que 101 millones de errores. It has happened to most bloggers, and there are many methods to stop it. Ha sucedido a la mayoría de los bloggers, y hay muchos métodos para evitarlo. You can open up a text editor, and find/replace all the characters that you want to fix. Usted puede abrir un editor de texto, y buscar / reemplazar todos los caracteres que desea corregir. This may work with simple code which contains only a few angular brackets (eg: <). Esto puede funcionar con un código simple que contiene sólo un paréntesis angulares pocos (por ejemplo: <).
However, if you are posting something more complex, say some PHP code which has angular brackets, double-inverted commas, slashes etc., you are in trouble. Sin embargo, si envías algo más complejo, por ejemplo algo de código PHP que tiene corchetes angulares, doble comillas, barras, etc, está en problemas. The need, then, would be for a tool which takes the code, and spits out browser friendly code. La necesidad, entonces, sería una herramienta que tiene el código, y escupe el código amistoso navegador. This ensures that there are no Esto asegura que no hay wreckages naufragios broken designs. diseños roto.
Postable is one such tool. Postable es una herramienta de este tipo. The interface is clean and elegant, with a web 2.0 look (gradient background) which is just enough. La interfaz es limpia y elegante, con un aspecto web 2.0 (fondo transparente), que es lo justo. I've lost count of the number of sites that have gloss and reflection everywhere. He perdido la cuenta del número de sitios que tienen brillo y la reflexión en todas partes. Thankfully, the design of Postable is really clean. Afortunadamente, el diseño de Postable es realmente limpio. My only gripe with it would be the colour palette used for the design. Mi única queja sería la paleta de colores utilizada para el diseño. See the image below to understand what I mean. Véase la siguiente imagen para entender lo que quiero decir.

Ain't the design gorgeous? ¿No es el magnífico diseño?
The developer of the tool is El desarrollador de la herramienta es Elliot Swan Elliot Swan . .
Absolutely hate having to switch all the “<” and >” signs in my code to “<” and “>”, respectively. Absolutamente odio tener que cambiar todos los "<" y> "signos en mi código de" < "y"> ", respectivamente. I also hate having to write “&” anytime I want to include an ampersand. Yo también odio tener que escribir "y" en cualquier momento que desea incluir un símbolo de unión. This makes including code snippets on my blog and whatnot extremely annoying, and today I finally got fed up Esto hace que incluso los fragmentos de código en tu blog y otras cosas muy molesto, y hoy finalmente se hartó (more)… (más) ...
ADVERTISEMENT PUBLICIDAD
The name, “Postable”, is written in large letters ( sans reflection). El nombre, "Postable", está escrito en letras grandes (sin reflexión). There is a code box, and a simple button named “make it friendly” below. Hay un cuadro de código, y un simple botón llamado "hacer amigos" a continuación. It is AJAXed, which saves you a reload of the page. Es AJAXed, que le ahorra una recarga de la página. I tested it on a slow connection, and it managed to load quite fast. Lo he comprobado en una conexión lenta, y se las arregló para cargar bastante rápido. The scripts working behind the screen are Prototype and Scriptaculous JS library, along with a custom script. Los guiones de trabajo detrás de la pantalla son Prototype y Scriptaculous JS biblioteca, junto con un script personalizado.
The only nag that I have found is that it does not accept more than 5000 characters. El potro único que he encontrado es que no acepta más de 5000 caracteres. But this is a no-brainer, as I am yet to come across anyone who needs to post more than that amount. Pero esto es una obviedad, ya que estoy por venir a través de cualquier persona que necesite publicar más de esa cantidad.
I am happy that I found this tool, as it makes posting code a breeze. Estoy feliz de haber encontrado esta herramienta, ya que hace escribiendo código de una brisa. I had earlier used the previously-mentioned method of find/replace, which was stupidly slow, not to mention the inaccuracy. Yo antes había utilizado el método anteriormente mencionado de buscar / reemplazar, que fue estúpidamente lento, por no hablar de la inexactitud.
Go to Ir a Postable Postable . .
What are your views on this tool? ¿Cuáles son sus puntos de vista sobre esta herramienta? Do you use any other tool? ¿Usas algún otro instrumento? Do tell me about alternate tools through comments. Me hable de herramientas alternativas a través de comentarios.
Related reading Lectura relacionada
- Top 12 ways to make your blog posts digg-friendly Top 12 maneras de hacer que su blog digg-friendly
- Orkut Blog, a blog by Google for Orkuters Orkut blog, un blog de Google para Orkuters
- JavaScript and PHP codes to remove DiggBar JavaScript y PHP códigos para eliminar DiggBar
- Coupon codes to get free gifts from eBay.in Código de descuento para obtener regalos de eBay.in
any parser like como cualquier analizador http://www.blogcrowds.com/resources/parse_html.php http://www.blogcrowds.com/resources/parse_html.php
@Ashwini: Ah, there are several other tools. @ Ashwini: Ah, hay varias otras herramientas. I already know a couple of others, and will post them in later posts. Ya sé un par de los demás, y se publicará en los puestos más adelante. I'll include BlogCrowd's parser too. Voy a incluir analizador BlogCrowd demasiado. Thanks Gracias
PS: I had used it earlier, and it parsed HTML and JS, but does it parse other complex languages? PS: Yo la había usado antes, y se analiza HTML y JS, pero lo hace de analizar otros idiomas complejos?