16/04/2014

Devweb du 16/04/2014







how to use regex to return whole words only

16 Apr 2014 04:06 pm | Anonymous



Posted by chris
Hi
my pipe is here: http://pipes.yahoo.com/pipes/pipe.info?_id=98949320c98308d1f7d1359bd60f68eb
i'm returning a simple rss feed but ideally would like to return just 30 words from the description field.
Initially in my pipe i've used a loop and sub string to return the first 200 characters but this is returning a cut off sometimes showing a partial word at the end which his unclean.
I've heard using regex can specifially show whole word sbut would like an example of how to do this if anyone has one?
thanks
Chris
Suite ...
share on Twitter Like how to use regex to return whole words only on Facebook

Python Tools 2.1 pour Visual Studio disponible en version bêta, avec le support des framework Bottle et Flask

16 Apr 2014 03:56 pm | Anonymous



Python Tools 2.1 pour Visual Studio disponible en version bêta
avec le support des framework Bottle et Flask

Microsoft a toujours montré son intérêt pour le langage de programmation Python à travers son support dans Windows Azure et la fourniture de Python Tools pour Visual Studio (PTVS), un ensemble d'outils de développement Python pour son EDI Visual Studio. Aujourd'hui, la firme dévoile une nouvelle version de son utilitaire, PTVS 2.1 bêta. Cette version apporte un lot de nouvelles fonctionnalités...
Suite ...
share on Twitter Like Python Tools 2.1 pour Visual Studio disponible en version bêta, avec le support des framework Bottle et Flask on Facebook

Re: Error Fetching RSS Feed (Response 0)

16 Apr 2014 03:35 pm | Anonymous



Posted by Scouting
[fyi] export.arxiv.org is down for me
Suite ...
share on Twitter Like Re: Error Fetching RSS Feed (Response 0) on Facebook

Re: Error Fetching RSS Feed (Response 0)

16 Apr 2014 03:06 pm | Anonymous



Posted by Alexandre
I noticed yesterday that the feed is once more outputting the error discussed above. There are still no errors reported by w3's validator but the simple test I posted before nevertheless fails:
http://pipes.yahoo.com/cqedfeeds/simplearxivtest
I just checked using feedbin that the source feed is up: http://export.arxiv.org/rss/cond-mat
Any new ideas anyone?
Suite ...
share on Twitter Like Re: Error Fetching RSS Feed (Response 0) on Facebook

Re: Can I use two different 'pepes' on one web site?

16 Apr 2014 09:16 am | Anonymous



Posted by Lolo
Hello,
It is hard to understand what you mean, but as far as I know, there is no limitation in quantity of pipes! However, if you have 2 pipes on your website, you might stumble upon their usage limits explained here.
Post your pipes' links and try to be clearer in your response so we can help!
Suite ...
share on Twitter Like Re: Can I use two different 'pepes' on one web site? on Facebook

Re: Multiple tags per item

16 Apr 2014 09:10 am | Anonymous



Posted by Lolo
hi again,
My first point was not a shot in the dark: I opened your feed in a text editor, and no category tag were present, although it is now (and the pipe is still the same). well, good for you :)
About your recurring question, an answer is in my second point. basically, you can either transform the sub list to a string either using a string builder in a loop module, or a regex module for item.anotherFieldThatYouCanRenameAfterwards which replaces $ with ${field.0}, ${field.1}, ${field.2}, ${field.3}, ${field.4}, [...], ${field.29} [ ][x][ ][ ] for 30 sub-fields max.
Suite ...
share on Twitter Like Re: Multiple  tags per item on Facebook

Articles récents :


2014 infogere, All rights reserved.
Veille


Développé par RG, grâce à MailChimp et YahooPipes

Aucun commentaire:

Enregistrer un commentaire