Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the example and added tests #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fixed the example and added tests #1

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 9, 2012

I watched your video tutorial on nokogiri and it inspired me to extend the example to support test driven design and clean code. It didn't like the way everything was inline and not meaningful, so I cleaned it up and bit. I plan to make a video on TDD using this project.

The application works now. I don't know if any other modifications will be needed for Heroku.

I added a class for parsing the 9:30 stuff and I use a hash set internally for tags. That way when the website changes the look the code can be fixed easily as the structure is more flexible.

@theCrab
Copy link

theCrab commented May 31, 2013

I'd like to see how you walk through pages by clicking.
Say I land on lists/index.html click on a link and end up on lists/show.html where I can get more info. How do i do that? Most demos stop at the critical point which is always the important part thats always left out.

Just saying ;)

@ghost
Copy link
Author

ghost commented May 31, 2013

@theCrab I would say it could be done by parsing the page and looking for anchor/button links. Then instruct the browser to click the link and get the resulting page. Libraries such as WatiN or Selenium are great for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant