|
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 |
|
|
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... |
|
|
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 |
|
|
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! |
|
|
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. |
|
|
|
Articles récents :
|
|
|
|
Aucun commentaire:
Enregistrer un commentaire