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

Aucun commentaire:

Enregistrer un commentaire