Visitor Counter

Wednesday, 14 January 2015

Bringing Contacts from Gmail, Yahoo and Hotmail


This post will help you, on the off chance that you are stuck in bringing or get contacts from Yahoo, Gmail and Hotmail. This is conceivable utilizing diamond 'contacts'.

So here I am posting my code, I know there are part of things and code accessible for this, yet this is the precise code which I am utilizing.

On the off chance that you are running an application or need to make another proceed, I am composing another application here however you can include it in your current code also.

open your summon or reassure provoke and go into your application catalog, here I am making new:

rails contact

this will make a specific set of records and registries in your application. Presently go into your index, before begin working any further make certain that you have introduced "contacts" jewel with the most recent form i.e 1.0.13, to introduce "contacts" sort :

for linux clients : sudo pearl introduce contacts

for windows : pearl introduce contacts

in the event that as of now have yet more established variant redesign it : sudo diamond overhaul contacts

Presently open your environemnt.rb document and underneath this line compose

Rails::initializer.run do |config|

end

oblige "contacts"

make sure to restart your server.

Presently open the controllers organizer and make this system in any controller in the event that you have or where you need to show this. For my situation I am composing this in my account_controller.rb

def invite_friends
#@user = User.find(params[:id])
end

def import
@users = User.find(params[:id])
begin
@sites = {“gmail”  => Contacts::Gmail, “yahoo” => Contacts::Yahoo, “hotmail” => Contacts::Hotmail}
@contacts = @sites[params[:from]].new(params[:login], params[:password]).contacts
@users , @no_users = [], []
@contacts.each do |contact|
#if u = User.find(:first , :conditions => @users.email = ‘#{contact[1]}’ , :include =>[:user])
if u = User.find(:first , :conditions => “email = ‘#{contact[1]}'” )
@users << u
else
@no_users << {:name => contact[0] , :email => contact[1]}
end
end
respond_to do |format|
format.html {render :template => ‘shared/_contact_list’, :layout => false}
format.xml {render :xml => @contacts.to_xml}
end
end

before creating this two method, just be sure that you are giving the user id from invite_friends method to import method.

Open up your invite_friends.html.erb and paste this code :

<% form_tag :action => ‘import’, :id => @user do %>

<select name=”from” id=”from”>
<option value=””>Select Id</option>
<option value=”gmail”>Gmail</option>
<option value=”yahoo”>Yahoo</option>
<option value=”hotmail”>Hotmail</option>
</select>

<BR />
<p>Please Enter Your Email Address Below : <BR />
<input type=”text” name=”login”></p>
<p>Enter Your Password :<BR />
<input type=”password” name=”password”></p>

<p><h4>Note : we are not going to save your Password anywhere </h4></p>
<p><%= submit_tag ‘Find My Friends’ %>

<% end %>

Presently begin your server, open up firefox and sort the location (for my situation it is) : http://localhost:3000/account/invite_friends

Select any administration like Yahoo, Hotmail or Gmail give the relating username and Password and hit submit.

You will get a mistake message that missing format, to evacuate that make an envelope "imparted" in/application/sees/ and make another document name "_contact_list.html.erb" and glue the beneath code :

<% for i in @contacts %>

<input type="checkbox" name="email[]" id="email_<%= i %>" value="<%= i %>"/><%= i %><br>

<% end %>

this will help you to take further activities on brought email addresses, that is it.

Friday, 9 January 2015

Article Directory Submission Sites List 2014

Sl No
Article Directory Address
Page Rank (PR)
Submit Type

01
http://www.webwire.com
  7
Free Submit
02
http://www.magportal.com
  7
Free Submit
03
http://www.sitepromotiondirectory.com
  7
Free Submit
04
http://www.traveltourismdirectory.net
  7
Free Submit
05
http://www.thefreelibrary.com
  7
Free Submit
06
http://www.highrankdirectory.com
  7
Free Submit
07
http://www.seekingalpha.com
  7
Free Submit
08
http://www.bpubs.com
  6
Free Submit
09
http://www.ehow.com
  6
Free Submit
10
http://www.gather.com
  6
Free Submit
11
http://ezinearticles.com
  6
Free Submit
12
http://www.marketinginternetdirectory.com
  6
Free Submit
13
http://www.usalistingdirectory.com
  6
Free Submit
14
http://www.ukinternetdirectory.net
  6
Free Submit
15
http://www.articlet.com
  6
Free Submit
16
http://www.hubpages.com
  6
Free Submit
17
http://www.selfgrowth.com
  6
Free Submit
18
http://www.suite101.com
  6
Free Submit
19
http://www.thewhir.com/article-central
  6
Free Submit
20
http://www.webpronews.com/submit
  6
Free Submit
21
http://www.webcontent.com
  6
Free Submit
22
http://www.articlebiz.com
  6
Free Submit
23
http://www.articledashboard.com
  6
Free Submit
24
http://www.bestezines.com
  6
Free Submit
25
http://www.buzzle.com
  6
Free Submit
26
http://www.brighthub.com
  6
Free Submit
27
http://www.web-source.net
  6
Free Submit
28
http://www.helium.com
  6
Free Submit
29
http://www.articlecity.com
  5
Free Submit
30
http://www.articlesbase.com
  5
Free Submit
31
http://www.biggerpockets.com/articles
  5
Free Submit
32
http://www.isnare.com
  5
Free Submit
33
http://goarticles.com
  5
Free Submit
34
http://www.triond.com
  5
Free Submit
35
http://directory.r-tt.com
  5
Free Submit
36
http://www.new-list.com
  5
Free Submit
  37
http://www.zimbio.com
  5
Free Submit
  38
http://www.content-articles.com
  5
Free Submit
  39
http://www.articleclick.com
  5
Free Submit
  40
http://www.articlesnatch.com
  5
Free Submit
  41
http://www.articletrader.com
  5
Free Submit
  42
http://www.articleblast.com
  5
Free Submit
  43
http://www.a1articles.com
  5
Free Submit
  44
http://www.sooperarticles.com
  5
Free Submit
  45
http://www.articleant.com
  5
Free Submit
  46
http://www.articlecube.com
  5
Free Submit
  47
http://www.homebiztools.com
  5
Free Submit
  48
http://www.ezinehub.com
  5
Free Submit
  49
http://www.articlegold.com
  5
Free Submit
  50
http://www.weeno.com
  5
Free Submit
  51
http://www.approvedarticles.com
  5
Free Submit
  52
http://www.contentarticles.com
  5
Free Submit
  53
http://www.amazines.com
  4
Free Submit
  54
http://www.articlealley.com
  4
Free Submit
  55
http://www.articlesfactory.com
  4
Free Submit
  56
http://www.bukisa.com
  4
Free Submit
  57
http://www.bubblews.com
  4
Free Submit
  58
http://www.articlecube.com
  4
Free Submit
  59
http://www.businessseek.biz
  4
Free Submit
  60
http://www.articlesnatch.com
  4
Free Submit
  61
http://www.apsense.com
  4
Free Submit
  62
http://www.articleslash.net
  4
Free Submit
  63
http://www.e-topic.com
  4
Free Submit
  64
http://www.qwesz.com
  4
Free Submit
  65
http://www.easyarticles.com
  4
Free Submit
  66
http://www.searcharticles.net
  4
Free Submit
  67
http://www.prolinkdirectory.com
  4
Free Submit
  68
http://www.thehealthyvillage.com
  4
Free Submit
  69
http://www.earticlesonline.com
  4
Free Submit
  70
http://www.free-articles-zone.com
  4
Free Submit
  71
http://www.postarticles.com
  4
Free Submit
  72
http://www.ladypens.com
  4
Free Submit
73
http://www.webmasterslibrary.com
  4
Free Submit
74
http://www.mymedicenter.com
  4
Free Submit
75
http://www.infobarrel.com
  4
Free Submit
76
http://www.evancarmichael.com
  4
Free Submit
77
http://www.upublish.info
  4
Free Submit
78
http://www.uberarticles.com
  4
Free Submit
79
http://www.yesarticles.com
  4
Free Submit
80
http://www.populararticles.com
  4
Free Submit
81
http://www.freesticky.com/stickyweb
  4
Free Submit
82
http://www.goodinfohome.com
  4
Free Submit
83
http://www.simplysearch  4it.com
  4
Free Submit
84
http://www.rlrouse.com
  4
Free Submit
85
http://www.themanager.org
  4
Free Submit
86
http://www.libervis.com
  4
Free Submit
87
http://www.jazzylook.com
  3
Free Submit
88
http://www.textiledegree.com
  3
Free Submit
89
http://www.laptopbaginfo.com
  3
Free Submit
90
http://www.article-hut.com
  3
Free Submit
91
http://www.articlejoe.com
  3
Free Submit
92
http://www.articlemonkeys.com
  3
Free Submit
93
http://www.expertarticles.com
  3
Free Submit
94
http://www.thecontentcorner.com
  3
Free Submit
95
http://articles.submityourarticle.com
  3
Free Submit
96
http://www.streetarticles.com
  3
Free Submit
97
http://www.sooperarticles.com
  3
Free Submit
98
http://www.howitworks.net
  3
Free Submit
99
http://www.top  7business.com
  3
Free Submit
100
http://www.thepr.com.au
  3
Free Submit