09/09/2014

Devweb du 03/09/2014







Re: Filtering specific word in rss title ?

03 Sep 2014 04:20 pm | Anonymous



Posted by Andre
Thanks Lolo, i try it :)
Suite ...
share on Twitter Like Re: Filtering specific word in rss title ? on Facebook

Re: Filtering specific word in rss title ?

03 Sep 2014 04:04 pm | Anonymous



Posted by Lolo
Hello,
Use the Rename module to copy the title to a field named "location", for example.Then, using the regex module:
In [item.title] replace [^[^\.]*?\.] with [(nothing)] g[ ] s[x] m[ ] i[ ]
In [item.location] replace [^([^\.]*?).*$] with [(nothing)] g[ ] s[x] m[ ] i[ ]
Best-
Suite ...
share on Twitter Like Re: Filtering specific word in rss title ? on Facebook

Re: How to parse search results of this page

03 Sep 2014 03:58 pm | Anonymous



Posted by Lolo
Hello,
This website uses asynchronous javascript to generate part of the page (the results part). There is a lot of javascript in there, but I think it's the small bit of jQuery included lign 32 of the page's source that does the listing.
I would have suggested to go and try to analyse that to find the actual call for the data, but while writing this I found and tested a much simpler approach: In firefox (and other web browsers, for sure) there is "web console" tool (in Tools/Web developer). Open it on the website, do the resaerch. The first logged call is the query to the catalog!
Simply fetch yourself the data from that URL using the fetch data module for example, with fullresponse.1.response.docs as the path to the elements.
For a more perennial use, paste the URL in the URL builder module instead. I'm sure lots of the parameters of the call can be dropped, and others tuned (the number of results for example). I'll let you do this research.
Best-
Suite ...
share on Twitter Like Re: How to parse search results of this page on Facebook

Re: Filtering specific word in rss title ?

03 Sep 2014 03:52 pm | Anonymous



Posted by Andre
Thanks Eren! :) Excuse me, I have been wrong... How can i filtering only the words AFTER period sign??I want preserve city name for make a geolocation
https://pipes.yahoo.com/pipes/pipe.edit?_id=6599b52552d9cfcb1f0b55f1d401a72f
Suite ...
share on Twitter Like Re: Filtering specific word in rss title ? on Facebook

Re: Filtering specific word in rss title ?

03 Sep 2014 03:08 pm | Anonymous



Posted by eren
It would be easier to help you if you provided a Pipe URL. But here is my suggestion:
You can use the Regex module to remove that part:
In: item.titlereplace: [^.].\s(.*)with: $1
There is (at least) one problem with this approach: If there are more than one dots before "Name of concert" this regex will only remove the part up until the first dot.
See http://pipes.yahoo.com/pipes/pipe.info?_id=1dd1023f5aac8eb2a03a4d2aaa3c8d08
Suite ...
share on Twitter Like Re: Filtering specific word in rss title ? on Facebook

Re: Add Text To a Title

03 Sep 2014 03:02 pm | Anonymous



Posted by eren
If you want to just append text to the title you can also try the following:
replace: (.*)
with: $1your_text_here
This will add your_text_here to the original title
Suite ...
share on Twitter Like Re: Add Text To a Title on Facebook

Filtering specific word in rss title ?

03 Sep 2014 03:01 pm | Anonymous



Posted by Andre
Hi guys. About feed title in the "fetch feed" module.... How can i filtering only the words before period sign? I want to have only the city name.
(example of title "city name. Name of concert")
I hope you can help me, thanks
Suite ...
share on Twitter Like Filtering specific word in rss title ? on Facebook

How to parse search results of this page

03 Sep 2014 02:42 pm | Anonymous



Posted by eren
I'm trying to find a way to parse the search results of this page: http://idefix.com
When I enter a search string (using the big text box at the top) a "frame" opens up with search results (try, for example, "turgenyev" to see what I mean); but I couldn't find a way to parse those results from the source. I wonder if this is at all possible. Any ideas?
Suite ...
share on Twitter Like How to parse search results of this page on Facebook

desoSlide : jQuery powerful Slideshow Plugin

03 Sep 2014 09:20 am | Anonymous



Take control of your slideshow with this powerful jQuery plugin.
Features:
  • Place yours thumbnails anywhere in your page. Many options available to fit your needs.
  • Controls the slideshow with your keyboard keys or through the player.
  • Shows more information to your users with caption and link for each image.
  • Creates as many slideshows as you want on a single page.
The post desoSlide : jQuery powerful Slideshow Plugin appeared first on jQuery Rain.
Suite ...
share on Twitter Like desoSlide : jQuery powerful Slideshow Plugin on Facebook

Jaguar : jQuery Adventure Game Engine

03 Sep 2014 09:06 am | Anonymous



Jaguar puts the power of hardware-accelerated story-telling in your hands.Using only 3 simple HTML tags and minimal CSS, Jaguar can accomplish nearly all game features of classic adventure games such as Monkey Island, Loom and The Dig.Jaguar is build for beginners to finally be able to create story-driven adventure games without any coding experience.
The post Jaguar : jQuery Adventure Game Engine appeared first on jQuery Rain.
Suite ...
share on Twitter Like Jaguar : jQuery Adventure Game Engine on Facebook

Articles récents :



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

Devweb du 04/09/2014







Re: How to parse search results of this page

04 Sep 2014 10:43 am | Anonymous



Posted by Lolo
Actually with the second method you don't have to been versed in javascript at all, simply try to modify and/or delete parameters in the url builder module.
yes, pipes is that wonderful :)
Suite ...
share on Twitter Like Re: How to parse search results of this page on Facebook

Re: How to parse search results of this page

04 Sep 2014 10:31 am | Anonymous



Posted by eren
Thanks Lolo. I'm not exactly a Javascript expert, but I'm stubborn :) We will see what comes out of my investigation...
Suite ...
share on Twitter Like Re: How to parse search results of this page on Facebook

Re: regex question

04 Sep 2014 10:01 am | Anonymous



Posted by Andre
Super Lolo! Thanks a lot
Suite ...
share on Twitter Like Re: regex question on Facebook

Particleground : jQuery plugin for background Particle Systems

04 Sep 2014 09:31 am | Anonymous



A jQuery plugin for snazzy background particle systems. Includes an optional parallax effect controlled by the mouse on desktop devices and gyroscope on mobile devices. Works in any browser that supports HTML5 canvas.
The post Particleground : jQuery plugin for background Particle Systems appeared first on jQuery Rain.
Suite ...
share on Twitter Like Particleground :  jQuery plugin for background Particle Systems on Facebook

Re: YQL and Creating RSS

04 Sep 2014 09:22 am | Anonymous



Posted by Lolo
Hello,
First, there is no need to use YQL, I recommend the more straight forward XPath Fetch page module here. That being said, both work, so no need to worry about it.
The problem you evoked isn't one: the module does fetch what you asked, it's just HTML and not an rss feed. First thing to do would be to slightly modify your XPath expression by adding /tbody/* at the end, eg get xpath='//table[@id="searchResultsTable"]/tbody/*'. That way you get only the results instead of the whole table. Next is to rename the fields, using the Rename module, to get only data relevant to you. Finally, maybe a regex module to get rid of extraneous data.
Best-
Suite ...
share on Twitter Like Re: YQL and Creating RSS on Facebook

YQL and Creating RSS

04 Sep 2014 09:00 am | Anonymous



Posted by tyasar
Hello. I did a YQL link. And i can see xml output at debug but cant see items in my pipes page.
Can you help me about that?
Here is my pipes http://pipes.yahoo.com/pipes/pipe.edit?_id=96c0784442d8c5807a5166a852fb695d
Suite ...
share on Twitter Like YQL and Creating RSS on Facebook

Blurr : jQuery Plugin to create nice Blur Backgrounds

04 Sep 2014 08:54 am | Anonymous



jQuery Plugin to create nice blur backgrounds from an image.
The post Blurr : jQuery Plugin to create nice Blur Backgrounds appeared first on jQuery Rain.
Suite ...
share on Twitter Like Blurr : jQuery Plugin to create nice Blur Backgrounds on Facebook

Endless.js : jQuery Plugin – Infinite scroll HTML element

04 Sep 2014 08:47 am | Anonymous



Endless.js  is a jQuery plugin for infinite scroll HTML element.The idea is to join the top with the bottom or the left with the right. So when you are at the end or the beginning, you can scroll again and you will are done a complete tour.
The post Endless.js : jQuery Plugin – Infinite scroll HTML element appeared first on jQuery Rain.
Suite ...
share on Twitter Like Endless.js : jQuery Plugin – Infinite scroll HTML element on Facebook

Re: regex question

04 Sep 2014 08:37 am | Anonymous



Posted by Lolo
hello,
use \..*$
that says: match a(n actual) dot (\.), and then any character( . ), and as many as you can (*), including none, if you can't, up to the end of the string ($).
Best-
Suite ...
share on Twitter Like Re: regex question on Facebook

Re: Automate Pipes

04 Sep 2014 02:14 am | Anonymous



Posted by Paul Donnelly
If you're familiar with UNIX and have a shell account you can do it with crontab.
Thanks -Paul
Suite ...
share on Twitter Like Re: Automate Pipes on Facebook

Articles récents :


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

Devweb du 06/09/2014







jQuery EasyCarousel Plugin

06 Sep 2014 02:37 pm | Anonymous



EasyCarousel Plugin is a very practical Carousel plug-ins written in jQuery. Used to show a set (list) content of transverse or longitudinal rolling. EasyCarousel complete function, browser compatibility, scalability. It can be used for any similar to the Carousel structure of the HTML code.
The post jQuery EasyCarousel Plugin appeared first on jQuery Rain.
Suite ...
share on Twitter Like jQuery EasyCarousel Plugin on Facebook

Heatmap jQuery plugin

06 Sep 2014 02:31 pm | Anonymous



Heatmap is a simple jQuery plugin to display the visualization of proportion data corresponding to geometry locations.
The post Heatmap jQuery plugin appeared first on jQuery Rain.
Suite ...
share on Twitter Like Heatmap jQuery plugin on Facebook

bricklr : JavaScript Brick-Wall Effects

06 Sep 2014 02:27 pm | Anonymous



Bricklr  is a javascript library for brick-wall effects.
The post bricklr : JavaScript Brick-Wall Effects appeared first on jQuery Rain.
Suite ...
share on Twitter Like bricklr : JavaScript Brick-Wall Effects on Facebook

Articles récents :

Little question about Regex module
Mise à jour de la FAQ Python, 254 réponses à vos questions dont 36 nouvelles
Problems loading Images? (Based off of Lolo's Design)
Sony met en open source un éditeur de niveau générique, sous licence Apache 2 et reposant sur leur framework open source
Re: map in my pipe


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