# Contact us section of websites

**URL:** <https://rubytalk.org/t/contact-us-section-of-websites/73511>\
**Category:** ruby-talk\
**Created:** [6 March 2016 15:29 UTC](https://rubytalk.org/t/contact-us-section-of-websites/73511 "2016-03-06T15:29:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas\_Perkins](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thomas\_Perkins](https://rubytalk.org/u/thomas_Perkins)\
**Post date:** [6 March 2016 15:29 UTC](https://rubytalk.org/t/contact-us-section-of-websites/73511/1 "2016-03-06T15:29:20Z")

</div>

On every website, most of the time anyways, there's a contact us section, is there a gem, or a way to go from the main page of the site to the contact us section containing the email address of the site admin?

---

<div class="post-metadata">

**Author:** ![Hassan\_Schroeder](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/hassan_schroeder/32/1838_2.png) [@Hassan\_Schroeder](https://rubytalk.org/u/Hassan_Schroeder)\
**Post date:** [6 March 2016 16:06 UTC](https://rubytalk.org/t/contact-us-section-of-websites/73511/2 "2016-03-06T16:06:01Z")

</div>

How would this be different from any link to any page on a web site?

> **···**
>
> On Sun, Mar 6, 2016 at 7:29 AM, thomas Perkins \<thomas.perkins23@icloud.com\> wrote:
> 
> > On every website, most of the time anyways, there's a contact us section, is there a gem, or a way to go from the main page of the site to the contact us section containing the email address of the site admin?
> 
> --  
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> 
> > **[Hassan Schroeder on about.me](https://about.me/hassanschroeder)**
> >
> > I use about.me to show people what matters most to me.
> 
> twitter: @hassan  
> Consulting Availability : Silicon Valley or remote

---

<div class="post-metadata">

**Author:** ![thomas\_Perkins](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thomas\_Perkins](https://rubytalk.org/u/thomas_Perkins)\
**Post date:** [6 March 2016 16:09 UTC](https://rubytalk.org/t/contact-us-section-of-websites/73511/3 "2016-03-06T16:09:28Z")

</div>

Because as I stated in pulling the webpages main page, so from the main page, I need to go to the contact section, is there a way to search or click a link from a Ruby program?

> **···**
>
> Sent from my iPhone
> 
> > On Mar 6, 2016, at 10:06 AM, Hassan Schroeder \<hassan.schroeder@gmail.com\> wrote:
> > 
> > On Sun, Mar 6, 2016 at 7:29 AM, thomas Perkins \> \<thomas.perkins23@icloud.com\> wrote:
> > 
> > > On every website, most of the time anyways, there's a contact us section, is there a gem, or a way to go from the main page of the site to the contact us section containing the email address of the site admin?
> > 
> > How would this be different from any link to any page on a web site?
> > 
> > --  
> > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com  
> > [Hassan Schroeder | about.me](http://about.me/hassanschroeder)  
> > twitter: @hassan  
> > Consulting Availability : Silicon Valley or remote
> > 
> > Unsubscribe: \<mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe\>  
> > \<[http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt](http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt);

---

<div class="post-metadata">

**Author:** ![Hassan\_Schroeder](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/hassan_schroeder/32/1838_2.png) [@Hassan\_Schroeder](https://rubytalk.org/u/Hassan_Schroeder)\
**Post date:** [6 March 2016 16:18 UTC](https://rubytalk.org/t/contact-us-section-of-websites/73511/4 "2016-03-06T16:18:42Z")

</div>

If you're talking about parsing a web page's markup to extract links,  
take a look at the nokogiri gem.

> **···**
>
> On Sun, Mar 6, 2016 at 8:09 AM, thomas Perkins \<thomas.perkins23@icloud.com\> wrote:
> 
> > Because as I stated in pulling the webpages main page, so from the main page, I need to go to the contact section, is there a way to search or click a link from a Ruby program?
> 
> --  
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> 
> > **[Hassan Schroeder on about.me](https://about.me/hassanschroeder)**
> >
> > I use about.me to show people what matters most to me.
> 
> twitter: @hassan  
> Consulting Availability : Silicon Valley or remote
