Title: Parse URL
Author: ketanmujumdar
Published: <strong>30 mai 2012</strong>
Last modified: 2 juin 2012

---

Recherche d’extensions

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/parse-url.svg)

# Parse URL

 Par [ketanmujumdar](https://profiles.wordpress.org/ketanmujumdar/)

[Télécharger](https://downloads.wordpress.org/plugin/parse-url.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/parse-url/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/parse-url/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/parse-url/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/parse-url/#developers)

 [Support](https://wordpress.org/support/plugin/parse-url/)

## Description

URL Parse plugin will be responsible for fetching meta information along with 330
characters from the supplied website url.
 Optionally, it also takes the image parameter
where we need to supply a specific uploaded image in the post. This parser takes
care of url forwarding. Optionally this parser takes 2 parameters named url_name
and tag_name. These parameters are stored in the database as key-value pair. url_name
is the primary DNS and tag_name is the tag within which the actual text is stored.

For example,
 If the url = http://timesofindia.indiatimes.com/india/Italy-regrets-
killing-of-Indian-fishermen/articleshow/11990083.cms and if the text is actually
under the tag « div class=Normal » then the shortcode can be used as follows: [url_parse
url=’http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-fishermen/
articleshow/11990083.cms’ url_name = ‘timesofindia.indiatimes.com’ tag_name = ‘div
class=Normal’] and next time when one uses any URL of timesofindia.indiatimes.com
then you need not supply the url_name and tag_name as it will be stored in the database.

Plugin Usage:
 [url_parse url=’%WEB_PAGE_URL%’ tag = ‘$TAG_CONTAINING_INFO%’] where,
WEB_PAGE_URL = url link of the web page; currently supports http/https protocol 
supoorting web pages; required TAG_CONTAINING_INFO = the tag under which the information
is contained; Generally certain browsers are helpful in finding this information.
For e.g. in mozilla firefox when you select a certain text/element in a web-page
and right-click ,you get an option ‘View Selection Source’. This can be used to 
examine under which tag the content is placed. Alternatively you can skim through
the page source to find out; optional

There is database support provided for storing the tags for a particular URL. For
example, if a web page contains certain information under
 a particular ‘tag’ and
you specify it, the logic is intelligent enough to store it which will help one 
get the data required from the same page without specifying the ‘tag’ again.

## Installation

 1. Upload ‘url-parse-plugin.php’, ‘url_parse_table.php’ and ‘simple_html_dom.php’ 
    to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

Query : When does the table get created ?
 Ans : url_parse_table.php is responsible
for creating the table when you upload the php files. A hook has been registered
and some initial data is also added.

Query : How do i add data in the table for my web page/ url ?
 Ans : For example,
If the url = http://timesofindia.indiatimes.com/india/Italy-regrets-killing-of-Indian-
fishermen/articleshow/11990083.cms and if the text is actually under the tag « div
class=Normal » then the shortcode can be used as follows: [url_parse url=’http://
timesofindia.indiatimes.com/abc/xyz/def/content.cms’ tag = ‘div class=Normal’] and
next time when one uses any URL under the domain ‘timesofindia.indiatimes.com’ then
one need not supply the ‘tag’ as it will be stored in the database.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Parse URL » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ ketanmujumdar ](https://profiles.wordpress.org/ketanmujumdar/)

[Traduisez « Parse URL » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/parse-url)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/parse-url/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/parse-url/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/parse-url/)
par [RSS](https://plugins.trac.wordpress.org/log/parse-url/?limit=100&mode=stop_on_copy&format=rss).

## Méta

 *  Version **2.0**
 *  Last updated **il y a 14 années**
 *  Active installations **10+**
 *  WordPress version ** 2.0 ou plus **
 *  Tested up to **2.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/parse-url/)
 * Tags
 * [parse](https://fr-ca.wordpress.org/plugins/tags/parse/)[url](https://fr-ca.wordpress.org/plugins/tags/url/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/parse-url/advanced/)

## Notes

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/parse-url/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/parse-url/reviews/)

## Contributeurs

 *   [ ketanmujumdar ](https://profiles.wordpress.org/ketanmujumdar/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/parse-url/)