<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - j_junyent</title>
<link>http://snipplr.com/users/j_junyent</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 09 Jul 2008 05:04:29 GMT</pubDate>
<item>
<title>(PHP) Wordpress remote posting</title>
<link>http://snipplr.com/view/6068/wordpress-remote-posting/</link>
<description><![CDATA[ <p>I was looking for a way to post new articles remotely, and cross domain. I only needed to post new articles, not read, edit or anything like that, so I did not need a whole GUI or any other Interface like those WP-Desktop-clients. I wrote this script which calls up my WP server and posts the article. WP handles it accordingly. Now, it works well, but there is a long wait with the fsockopen, it seems to continue until a timeout. if anyone know how to fix that, let me know. please. Beyond that, this isnt perfect, and is obviously left open for changes that will accustom to your own needs. some of this code i used and altered and modified some functions from xmlrpc.php. completely modded tho...

There are actually going to be 2 scripts. 1 is on the WP server, and one will be on the web server that is connecting to Wordpress.

The method. I have to send all the Article peices (title, post, categorys, blah balh) to this script via POST. this could be done with a form or something.

Source: http://en.forums.wordpress.com/topic.php?id=5897&amp;replies=5</p> ]]></description>
<pubDate>Wed, 30 Apr 2008 15:24:03 GMT</pubDate>
<guid>http://snipplr.com/view/6068/wordpress-remote-posting/</guid>
</item>
<item>
<title>(PHP) Copyright Year</title>
<link>http://snipplr.com/view/4549/copyright-year/</link>
<description><![CDATA[ <p>Display correctly the Copyright advice</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 20:16:59 GMT</pubDate>
<guid>http://snipplr.com/view/4549/copyright-year/</guid>
</item>
<item>
<title>(PHP) Euro banknote validation</title>
<link>http://snipplr.com/view/4548/euro-banknote-validation/</link>
<description><![CDATA[ <p>Basically what this algorithm does is to replace the first letter of the serial number by a number (each letter represents where the banknote is originally from), then it calculates the sum of all digits. If the remaining of the division of that sum by 9 is 0 then your note is valid.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 20:10:42 GMT</pubDate>
<guid>http://snipplr.com/view/4548/euro-banknote-validation/</guid>
</item>
<item>
<title>(CSS) Displaying Code Snippets: Wrap Long Lines with PRE Tag</title>
<link>http://snipplr.com/view/4546/displaying-code-snippets-wrap-long-lines-with-pre-tag/</link>
<description><![CDATA[ <p>The  tag that defines preformatted text is the only tag in HTML that respects and preserves whitespaces like line-breaks, blanks, tabs and multiple spaces between words. Whatever is enclosed inside the pre element will be displayed as-it-is on the web browser.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 20:01:18 GMT</pubDate>
<guid>http://snipplr.com/view/4546/displaying-code-snippets-wrap-long-lines-with-pre-tag/</guid>
</item>
<item>
<title>(CSS) botones que parezcan enlaces</title>
<link>http://snipplr.com/view/4545/botones-que-parezcan-enlaces/</link>
<description><![CDATA[ <p>¿Por qué empeñarnos en hacer enlaces que actúen como botones? ¿Por qué no hacemos botones que parezcan enlaces?</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 19:57:42 GMT</pubDate>
<guid>http://snipplr.com/view/4545/botones-que-parezcan-enlaces/</guid>
</item>
<item>
<title>(SQL) MySQL search</title>
<link>http://snipplr.com/view/4544/mysql-search/</link>
<description><![CDATA[ <p>http://sentidoweb.com/2007/07/25/consejos-mysql.php</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 19:44:17 GMT</pubDate>
<guid>http://snipplr.com/view/4544/mysql-search/</guid>
</item>
<item>
<title>(LaTeX) Latex: una imatge com a fons de pàgina</title>
<link>http://snipplr.com/view/4245/latex-una-imatge-com-a-fons-de-pgina/</link>
<description><![CDATA[ <p>Moltes vegades ens interessa tenir una imatge com a fons de pàgina bé per millorar la presentació d’un document, bé per marcar alguna característica d’aquella pàgina.

El paquet eso-pic facilita enormement la gestió d’imatges a les pàgines gràcies al parell de comandaments que ens ofereix:

-  \AddToShipoutPicture .
-  \AddToShipoutPicture* la versió amb asterisc del comandament fa que només aparegui la imatge en la pàgina on es trobi l’ordre.</p> ]]></description>
<pubDate>Sun, 02 Dec 2007 13:08:26 GMT</pubDate>
<guid>http://snipplr.com/view/4245/latex-una-imatge-com-a-fons-de-pgina/</guid>
</item>
<item>
<title>(Other) OOo macro: números en letras</title>
<link>http://snipplr.com/view/4244/ooo-macro-nmeros-en-letras/</link>
<description><![CDATA[ <p>OpenOffice.org Calc macro para escribir números en letras</p> ]]></description>
<pubDate>Sun, 02 Dec 2007 13:00:33 GMT</pubDate>
<guid>http://snipplr.com/view/4244/ooo-macro-nmeros-en-letras/</guid>
</item>
<item>
<title>(Visual Basic) Excel macro: números a letras</title>
<link>http://snipplr.com/view/4243/excel-macro-nmeros-a-letras/</link>
<description><![CDATA[ <p>MS Excel Macro para escribir números en letras</p> ]]></description>
<pubDate>Sun, 02 Dec 2007 12:55:18 GMT</pubDate>
<guid>http://snipplr.com/view/4243/excel-macro-nmeros-a-letras/</guid>
</item>
<item>
<title>(CSS) CSS Asides in WordPress' Sandbox theme</title>
<link>http://snipplr.com/view/4237/css-asides-in-wordpress-sandbox-theme/</link>
<description><![CDATA[ <p>Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS</p> ]]></description>
<pubDate>Sun, 02 Dec 2007 04:45:33 GMT</pubDate>
<guid>http://snipplr.com/view/4237/css-asides-in-wordpress-sandbox-theme/</guid>
</item>
<item>
<title>(PHP) Alert messages with CSS</title>
<link>http://snipplr.com/view/4236/alert-messages-with-css/</link>
<description><![CDATA[ <p>This is based on styles from the Sawchuk scheme for K2 to create, alert, download, code, construction, new, information, note and callout boxes</p> ]]></description>
<pubDate>Sun, 02 Dec 2007 04:34:43 GMT</pubDate>
<guid>http://snipplr.com/view/4236/alert-messages-with-css/</guid>
</item>
<item>
<title>(CSS) Diagnostic stylesheet</title>
<link>http://snipplr.com/view/4234/diagnostic-stylesheet/</link>
<description><![CDATA[ <p>The primary goal here is to have a set of rules that can be applied during the development phase of a new layout. These rules’ aim is to visually highlight problems in the markup.</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 15:16:01 GMT</pubDate>
<guid>http://snipplr.com/view/4234/diagnostic-stylesheet/</guid>
</item>
<item>
<title>(CSS) Master Stylesheet</title>
<link>http://snipplr.com/view/4233/master-stylesheet/</link>
<description><![CDATA[ <p>One of the most common mistakes I see beginners and intermediates fall victim to when it comes to CSS is not removing the default browser styling. This leads to inconsistencies in the appearance of your design across browsers, and ultimately leaves a lot of designers blaming the browser. It is a misplaced blame, of course. Before you do anything else when coding a website, you should reset the styling.</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 15:15:09 GMT</pubDate>
<guid>http://snipplr.com/view/4233/master-stylesheet/</guid>
</item>
<item>
<title>(CSS) Técnicas CSS 3.0</title>
<link>http://snipplr.com/view/4232/tcnicas-css-30/</link>
<description><![CDATA[ <p>Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ellas?

Echemosle un vistazo a las que parecen serán las más interesantes.</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 15:05:12 GMT</pubDate>
<guid>http://snipplr.com/view/4232/tcnicas-css-30/</guid>
</item>
<item>
<title>(PHP) Lorelle's Sandbox Styles CSS</title>
<link>http://snipplr.com/view/4231/lorelles-sandbox-styles-css/</link>
<description><![CDATA[ <p>blacnk stylesheet for the Sandbox WordPress theme</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 15:00:39 GMT</pubDate>
<guid>http://snipplr.com/view/4231/lorelles-sandbox-styles-css/</guid>
</item>
<item>
<title>(PHP) Traducció Català - Castellà</title>
<link>http://snipplr.com/view/4230/traducci-catal--castell/</link>
<description><![CDATA[ <p>Traducció del catlà al castellà mitjançant el traductor d'internostrum.</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 14:58:36 GMT</pubDate>
<guid>http://snipplr.com/view/4230/traducci-catal--castell/</guid>
</item>
<item>
<title>(PHP) Show users' pictures in WordPress</title>
<link>http://snipplr.com/view/4229/show-users-pictures-in-wordpress/</link>
<description><![CDATA[ <p>Show a user picture in wordpress</p> ]]></description>
<pubDate>Sat, 01 Dec 2007 14:55:04 GMT</pubDate>
<guid>http://snipplr.com/view/4229/show-users-pictures-in-wordpress/</guid>
</item>
<item>
<title>(PHP) CSS3 Multicolumn text</title>
<link>http://snipplr.com/view/4193/css3-multicolumn-text/</link>
<description><![CDATA[ <p>The W3C multi-column module is a CSS level-three working draft, proposed by the W3C to extend the current CSS box model. The module’s intent is to allow content to flow into multiple columns inside an element. It offers new CSS properties that let the designers specify in how many columns an element should be rendered. The browser takes care of formatting the text so that the columns are balanced.

The proposed new CSS properties are:

    * ‘column-count’, to determine the number of columns into which the content of the element will flow.
    * ‘column-width’, to describe the optimal width of each column.
    * ‘column-gap’, to set the padding between columns.
    * ‘column-rule’, to define a border between columns.</p> ]]></description>
<pubDate>Sun, 25 Nov 2007 17:36:52 GMT</pubDate>
<guid>http://snipplr.com/view/4193/css3-multicolumn-text/</guid>
</item>
<item>
<title>(PHP) Transparent in all  browsers</title>
<link>http://snipplr.com/view/4192/transparent-in-all--browsers/</link>
<description><![CDATA[ <p>Transparency is one of those weird things that is treated completely differently in all browsers. To cover all your bases, you need four separate CSS statements. Fortunately they don’t interfere with each other really, so using them all every time you wish to add transparency is no big hassle and worry-free. Here they are, and are currently set to 50% transparency:
    * opacity: 0.5; This is the “most important” one because it is the current standard in CSS. This will work in most versions of Firefox, Safari, and Opera. This would be all you need if all browsers supported current standards. Which, of course, they don’t.
    * filter:alpha(opacity=50); This one you need for IE.
    * -moz-opacity:0.5; You need this one to support way old school versions of the Mozilla browsers like Netscape Navigator.
    * -khtml-opacity: 0.5; This is for way old versions of Safari (1.x) when the rendering engine it was using was still referred to as KTHML, as opposed to the current WebKit.</p> ]]></description>
<pubDate>Sun, 25 Nov 2007 17:24:48 GMT</pubDate>
<guid>http://snipplr.com/view/4192/transparent-in-all--browsers/</guid>
</item>
<item>
<title>(CSS) font-face</title>
<link>http://snipplr.com/view/4191/fontface/</link>
<description><![CDATA[ <p>Esta propiedad del CSS, que nos permite definir, en este ejemplo, la familia de fuentes “Kimberly” para luego usarla en los elementos que queramos. Esto acabará con las diferencias de visualización de página que hasta ahora dependiamos que el usuario tuviera instaladas las fuentes en su local para poder usarlas. Ahora haremos que el usuario vea la web tal y como nosotros la vemos.</p> ]]></description>
<pubDate>Sun, 25 Nov 2007 17:19:32 GMT</pubDate>
<guid>http://snipplr.com/view/4191/fontface/</guid>
</item>
</channel>
</rss>