yahoo-pipes

In Yahoo! Pipes, how do I take a string from item.description and copy it to item.title?

扶醉桌前 提交于 2019-12-08 09:23:48
问题 Okay, so I already have a Pipe where I extracted the string I need from item.description, using the Loop and String Regex modules, and am emitting the results with the "emit results" option. Now, where do I go from here? EDIT: Since an example was requested, here is one: The item.title is "NBA Game: Lakers vs. Clippers" and the item.description is "The game went into overtime. The final score was 110-90." So the I'd like to extract "110-90" and copy it to the title, where it would then be "..

In yahoo pipes, how can I combine 2 fields?

给你一囗甜甜゛ 提交于 2019-12-08 07:41:13
问题 I am trying to modify a title of a rss field to include text from another field. How can I put these two fields together to make a new field? Thanks, CP 回答1: You can combine two fields using the Regex operator, by using ${...} notation in the replacement pattern to refer to other fields. For example, if you want to replace the title field with the combination of the pubDate and link fields, you could set the parameters like this: In: item.title replace: .* with: ${pubDate} - ${link} In the

remove all after this char “)” or a specific word with regex

廉价感情. 提交于 2019-12-08 07:27:10
问题 i have this string The Walking Dead: Season 1 (DVD) tagged "the walking dead" 61 times and i need to truncate this string, after this char ")" or delete the word "tagged" and remove all words after this. Thanks at all. 回答1: Don't know what language you are using, but this should work. use this regex: \).* And replace it with ) 回答2: (.*)(?:tagged) The above regex will select everything before tagged. 来源: https://stackoverflow.com/questions/22689439/remove-all-after-this-char-or-a-specific-word

Should I use Yahoo-Pipes to scrape the contents of a div?

a 夏天 提交于 2019-12-08 02:11:55
问题 Given: Url - http://www.contoso.com/search.php?q={param} returns: -html- --body- {...} ---div id='foo'- ----div id='page1'/- ----div id='page2'/- ----div id='page3'/- ----div id='pageN'/- ---/div- {...} --/body- -/html- Wanted: The innerHtml of div id='foo' must be fetched by the client (i.e. Javascript). It will be split into discrete items (i.e. div id='page1' to div id='pageN'). API Throttling prevents server-side code from pre-fetching the data, so the parsing and manipulation burden must

In Yahoo! Pipes how can I return a single value from a loop that's built with values from every item?

て烟熏妆下的殇ゞ 提交于 2019-12-08 00:42:29
问题 For example, I have a list of items and each item has a name. I want to build a single string that contains a comma-separated list of all the names. In most programming languages, I would loop over the items and append to a value outside the list/array. But, I can't figure out any combination of Yahoo! Pipes modules to do it. Maybe I'm missing something obvious, but I also find nothing relevant from Google. How do I append loop item values to a single value outside the loop? Or how can I

In Yahoo! Pipes how can I return a single value from a loop that's built with values from every item?

孤人 提交于 2019-12-06 14:02:29
For example, I have a list of items and each item has a name. I want to build a single string that contains a comma-separated list of all the names. In most programming languages, I would loop over the items and append to a value outside the list/array. But, I can't figure out any combination of Yahoo! Pipes modules to do it. Maybe I'm missing something obvious, but I also find nothing relevant from Google. How do I append loop item values to a single value outside the loop? Or how can I return a single value from a loop that's built with values from every item? Or what is the correct method

Yahoo Pipes clone script?

余生长醉 提交于 2019-12-06 09:20:04
问题 Yahoo Pipes lack of processing power and cannot works well with website from far east. I need to process complex regex from far multiple locations, hundreds of posts every minutes, which Yahoo Pipes fail to generate the result. Is there any codes or script act like Yahoo Pipes which I can use it in my own server? 回答1: Pipe2py is a compiler script that will generate a Python equivalent of a Yahoo Pipe given the URL of the pipe: https://github.com/ggaughan/pipe2py/ (Note that not all Pipes

Yahoo Pipes: filter items in a feed based on words in a text file

∥☆過路亽.° 提交于 2019-12-06 09:17:19
I have a pipe that filters an RSS feed and removes any item that contains "stopwords" that I've chosen. Currently I've manually created a filter for each stopword in the pipe editor, but the more logical way is to read these from a file. I've figured out how to read the stopwords out of the text file, but how do I apply the filter operator to the feed, once for every stopword? The documentation states explicitly that operators can't be applied within the loop construct, but hopefully I'm missing something here. You're not missing anything - the filter operator can't go in a loop. Your best bet

Should I use Yahoo-Pipes to scrape the contents of a div?

≡放荡痞女 提交于 2019-12-06 06:22:10
Given: Url - http://www.contoso.com/search.php?q= {param} returns: -html- --body- {...} ---div id='foo'- ----div id='page1'/- ----div id='page2'/- ----div id='page3'/- ----div id='pageN'/- ---/div- {...} --/body- -/html- Wanted: The innerHtml of div id='foo' must be fetched by the client (i.e. Javascript). It will be split into discrete items (i.e. div id='page1' to div id='pageN'). API Throttling prevents server-side code from pre-fetching the data, so the parsing and manipulation burden must be placed on the client. Question: Could Yahoo-Pipes help format the data for easier consumption? The

Can't get pubDate to output in Yahoo! Pipes?

你离开我真会死。 提交于 2019-12-05 16:25:39
In one of my RSS feeds in Yahoo! Pipes, I'm formatting dates using the Date Formatter module and using the format %K so they are pubDate-compliant. In Pipe Output, my four dates appears as follows: Wed, 25 Jul 2012 03:30:00 +0000 , Mon, 16 Jul 2012 06:30:00 +0000 , Wed, 11 Jul 2012 07:00:00 +0000 , and Wed, 27 Jun 2012 13:00:00 +0000 . However, in the RSS feed output, none of these dates appear. Are they formatted incorrectly? Why does Yahoo! Pipes not output these dates? Okay, so I now realize that I need to output dates to y:published rather than pubDate . This doesn't seem to be widely