Wiki-en veut du vieux:)?
Bienvenu dans le Forum (et for Femmes:)!) des 'wikinenveut'Smile!
On y discute de tout les sujets, concernant l'exclusion, le droit des pères, l'écriture et l'art en général, mais surtout et sinon de Linux et des Logiciels Libres et des NTIC, par et pour les gens de R.2000:)!
Everybody welcomes at Home:)!
Rechercher
 
 

Résultats par :
 


Rechercher Recherche avancée

Shopactif


Navigation
 Portail
 Index
 Membres
 Profil
 FAQ
 Rechercher
Partenaires
Forum gratuit


Tchat Blablaland



'Tips' en informatique confluentes...:)?

Voir le sujet précédent Voir le sujet suivant Aller en bas

'Tips' en informatique confluentes...:)?

Message  Milux le Jeu 11 Nov - 14:43

ASP, vous fait chier, allez savoir pourquoi et bien utiliser PHP, qui est confiluent lui, plein de notes ici :

http://www.asp-php.net/tutorial/asp.net/aspx-page-wss-v3.php

--

Milux

Messages : 2794
Date d'inscription : 30/08/2010

Revenir en haut Aller en bas

Re: 'Tips' en informatique confluentes...:)?

Message  Milux le Sam 13 Nov - 21:22

Tweet like a mad:)! Lol?

'dev@twitter
API Status
Documentation
Discussions
Your apps
Sign out

October 19, 2010 Twitter's ID format is changing. Please read, this affects nearly everyone. More» x

Tweet Button
Home » Supplemental Documentation » Tweet Button
Overview
The Tweet Button is a small widget which allows users to easily share your website with their followers. This page is for developers and users who wish to build their own Tweet Buttons. If you are looking for a quick way to build a Tweet Button for your website you can visit our Tweet Button Goodies Page.
If you have questions after reading this page try the Tweet Button FAQ.
User Interaction
The user interaction flow for the Tweet Button was designed to be as streamlined as possible and easy to use for both developers, website owners and users.
The steps a user goes through when using the Tweet Button are:
The user clicks the Tweet Button
The user is asked to login to Twitter if they aren’t already. If the user is new to Twitter they can also create an account.
The Share Box appears already completed with the information provided in the properties of the Tweet Button. The user can change the content if they wish.
Posting of the Tweet is confirmed and the user is suggested a maximum of two accounts they may wish to follow as provided in the properties of the Tweet Button.
The Share Box remains open until the user presses close.

Ways to add the Tweet Button to your website
There are three ways you can add the Tweet Button to your webpage.
Using javascript
The easiest way to add the Tweet Button to your website is to use javascript. This method requires adding a line of javascript and an HTML anchor to your webpage. Using this method you can customise the Tweet Button using data attributes and query string parameters.
Notice how the anchor element has a class of twitter-share-button. This is required for the Tweet Button javascript to know which anchor elements to convert to buttons.
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<a href="http://twitter.com/share" class="twitter-share-button">Tweet</a>
Using an iframe
If you prefer you can add a Tweet Button using an iframe. When using this method you have to use query string parameters to customise the Tweet Button’s behavior.
<iframe allowtransparency="true" frameborder="0" scrolling="no"
src="http://platform.twitter.com/widgets/tweet_button.html"
style="width:130px; height:50px;"></iframe>
Build your own
If you want to be able to customise the way the Tweet Button looks you will want to use this basic format. When using this method you have to use query string parameters to customise the Tweet Button’s behavior as well as handle the popup of the Share Box.
The dimensions of the Share Box are listed in our Tweet Button FAQ.
<a href="http://twitter.com/share">Tweet</a>
Properties
There are several properties for the Tweet Button which allow you to customise its behavior. Whilst the Tweet Button will work without any of this properties, using them allows you to provide default values for the user to Tweet. If the query string, data source or link source are not provided the Tweet Button will use the default values available from the web page and referrer information.
To learn more about each property and to see ways you can use them check the examples further down this page.
Properties which can be used by all types of Tweet Button
The properties in this table can be used by the javascript, iframe and build your own Tweet Buttons. Each property is a query string parameter for the http://twitter.com/share URL.
Query String Parameter Description
url URL of the page to share
via Screen name of the user to attribute the Tweet to
text Default Tweet text
related Related accounts
count Count box position
lang The language for the Tweet Button
counturl The URL to which your shared URL resolves to
Properties which can be used by the javascript Tweet Button
The properties in this table can only be used by the javascript Tweet Button. When used they provide additional places the Tweet Button can look for information on what to pre fill the Tweet with. The Tweet Button looks for property values in the priority order given in the table. For example when looking for the URL to use, the Tweet Button will:
Look for url in the share link query string.
If not found, look for the data-url attribute of the Tweet Button anchor tag
If not found, look for the rel="canonical" link tag in the head of the document
If not found use the URL of the webpage
Data Source Share query string data- attribute of anchor tag rel= attribute of a link tag Default
Priority 1 2 3 4
URL to Tweet url data-url rel="canonical" HTTP Referrer
via user via data-via rel="me"
Tweet text text data-text Content of the <title> tag
Recommended accounts related data-related
Count box position count data-count horizontal
Language lang data-lang en
URL to which your shared URL resolves to counturl data-counturl the url being shared
Positioning the count box
The count box shows how many times the URL has been Tweeted. You can choose to display or hide the count box, or place it above or next to the Tweet Button.
For the iframe Tweet Button the position of the count box is controlled by setting the value of the count property in the sharing URL.
For the javascript Tweet Button you can use the data-count property instead of adding count to the URL. The values for the property remain the same.
When no value is given for the count box the Tweet Button will default to horizontal.
Value for the count property none horizontal vertical
Displays as
Related accounts
Using the related field you can suggest accounts for a user to follow once they have sent a Tweet using your Tweet Button. These suggested accounts and their basic information are shown on the last page of the Share Box flow.
Only two accounts are displayed and by default the via user is shown first with the first related account shown afterwards. If the user is a follower of the via user the Share Box will instead show the first two related accounts the user isn’t a follower of. No accounts are displayed if the user follows all of the suggested accounts (via and related).
You can add your own summary of a related user by adding some text after their screen name, separated using a colon. For example, to add a summary The Javascript API to the related user @anywhere you would use:
data-related="anywhere:The Javascript API"
The summary is shown above the related user and is in addition to the default information like the bio and verified status. Summaries should not include commas or colons and can only be added to related accounts.

Examples
The examples that follow show different ways you can use the Tweet Button. The code to produce the example is also given so you can copy and paste it onto your own website.
These examples are real Tweet Buttons. If you press the button you will see a real Share Box.
Default Tweet Button
The default Tweet Button works without any configuration or parameters. In this example the Tweet Button will use the URL of the current webpage and the content of the <title> element as the text of the Tweet.
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="http://twitter.com/share" class="twitter-share-button">Tweet</a>
</div>
Using the query string to set the url and via properties
Query string configuration can be used in the javascript, iframe and build your own Tweet Button. For each property you should URL encode the value you are sending.
In this example we’ll be setting just the url and via properties, both of which are URL encoded and joined together using &amp;.
url=http%3A%2F%2Fdev.twitter.com
via=twitterapi
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="http://twitter.com/share?url=http%3A%2F%2Fdev.twitter.com&amp;via=twitterapi" class="twitter-share-button">Tweet</a>
</div>
Configuring using data attributes
Whilst query string parameters are a convenient way to share your webpage they can make your anchor tag very long. A long URL is difficult to maintain, especially when you have to URL encode the parameters.
To make things easier the javascript Tweet Button allows you to supply data attributes. These data attributes take the same values and cause the same Tweet Button behaviour as the query string parameters. The difference is they are attributes of the anchor tag, not the URL.
In this example we are setting the url, via, text, related and count properties.
Notice the related field includes a screen name followed by a colon and then some text. This format for the related attribute allows you to add a custom piece of text to display above the related account name. In this case we will display The Javascript API above the @anywhere account name on the recommendations screen.
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="http://twitter.com/share" class="twitter-share-button"
data-url="http://dev.twitter.com/pages/tweet_button"
data-via="twitterapi"
data-text="Checking out this page about Tweet Buttons"
data-related="anywhere:The Javascript API"
data-count="vertical">Tweet</a>
</div>
Sharing a short URL
If your count stays at 0 even after Tweeting you may need to help the Tweet Button identify the correct URL to count. In this example we’ll Tweet the URL http://bit.ly/twitter-api-announce but also tell the Tweet Button that this short URL goes to http://groups.google.com/group/twitter-api-announce. We do this to ensure our count is correct.
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="http://twitter.com/share" class="twitter-share-button"
data-url="http://bit.ly/twitter-api-announce"
data-counturl="http://groups.google.com/group/twitter-api-announce"
data-count="vertical">Tweet</a>
</div>
Build Your Own Tweet Button
We allow you to build your own Tweet Button too. In this example we’ll take the share link and add a border and icon using CSS. Note in this example when the Tweet Button is clicked the Share Box will open in a new window or tab (depending on the browser). In practice though, you will likely want to include a javascript handler to open the Share Box in a popup window instead.
Tweet
<style type="text/css" media="screen">
#custom-tweet-button a {
display: block;
padding: 2px 5px 2px 20px;
background: url('http://a4.twimg.com/images/favicon.gif') left center no-repeat;
border: 1px solid #ccc;
}
</style>
<div id="custom-tweet-button">
<a href="http://twitter.com/share?url=http%3A%2F%2Fdev.twitter.com%2Fpages%2Ftweet-button" target="_blank">Tweet</a>
</div>
Still have questions about the Tweet Button?
Our Tweet Button FAQ may be able to help you.'

--

Milux

Messages : 2794
Date d'inscription : 30/08/2010

Revenir en haut Aller en bas

Re: 'Tips' en informatique confluentes...:)?

Message  Milux le Sam 13 Nov - 21:23

Et le meilleur c'est quand-même lui avec son pinguin Smile!

-

Mise à jour de FUNIX avec au programme

Dans la section linux

pages configuration réseau
- page annuaire OpenLDAP, passage à la version 2.4.23
- page authentification des utilisateurs en utilisant OpenLDAP, passage
à pam_ldap-185, nss_ldap-265, MigrationTools-47, modifications par ci
par là suite passage à Mandriva 2010 Spring
- page mountage en tout genre, rajout d'une remarque pour NFSv4

pages mail/news
- page recevoir les mails, petite modif dans la config de dovecot
touours suite au passage à Mandriva 2010 Spring
- page filtrer les mails, suppression de l'outil obsolète mailfilter,
passage à SpamAssassin 3.3.1, DCC 1.3.130, clamav 0.96.2, rajout de
technique de prises en compte des spams

Pages diverses
- page ma configuration, suite à la mise en place d'un serveur Dell
PowerEdge 840 sur mon réseau perso et au changement de version du
système d'exploitation

Pages administration système
- rajout d'une page configuration d'un volume RAID 5 logiciel

Section téléchargement
Mise à jour des documents suivants pour prise en compte des
modifications ci-dessus
- OpenLDAP
- mountage en tout genre
- envoyer et recevoir du courrier


A venir, configuration d'un serveur web (apache2+PHP5+MySQL) sécurisé
dans un environnement chrooté.

Je vous rappelle que si vous recevez ce mail c'est que vous vous êtes
inscrits (ou quelqu'un l'a fait à votre place !) sur mon site funix pour
recevoir cette newsletter. Si toutefois vous souhaitez ne plus recevoir
de mail merci de me le signaler par retour de courrier.

Olivier H.
--
_______________________________
FUNIX - http://www.funix.org
Mettez un manchot dans votre PC
Page perso - http://olivier.hoarau.org




--
La Liberté on s'est battu pour, continuons avec le Logiciel Libre:)!

--

Milux

Messages : 2794
Date d'inscription : 30/08/2010

Revenir en haut Aller en bas

Re: 'Tips' en informatique confluentes...:)?

Message  Milux le Ven 10 Juin - 16:27

http://www.jakeludington.com/

Plein de bon liens et de soluces pour les supports hétérogènes et les sauvegardes entre autre, par un pro:)!

--

Milux

Messages : 2794
Date d'inscription : 30/08/2010

Revenir en haut Aller en bas

Re: 'Tips' en informatique confluentes...:)?

Message  Contenu sponsorisé


Contenu sponsorisé


Revenir en haut Aller en bas

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum