Coder Social home page Coder Social logo

para-seo_tools's People

Contributors

gabriel-cardoso avatar vala avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

para-seo_tools's Issues

Error during deploy to Heroku

Skeleton raise an error during deploy when trying to fetch a table that is not already created.

To reproduce:

  • create a new model
  • add pages using this model to skeleton.rb
  • try to deploy

Not sure if it's related to Heroku in particular

Add support for organization structured data

This markup should be added in each page's head or body. Here is what such markup look like

<script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Organization",
      "url": "http://www.example.com",
      "logo": "http://www.example.com/images/logo.png"
      // Many contact points can be added 
      "contactPoint" : [
        { "@type" : "ContactPoint",
          "telephone" : "+1-401-555-1212",
          "contactType" : "customer service"
        } ],
      // Currently supports Facebook, Twitter, Google+, Instagram, YouTube, LinkedIn, Myspace
      "sameAs" : [ "http://www.facebook.com/your-profile",
        "http://instagram.com/yourProfile",
        "http://www.linkedin.com/in/yourprofile",
        "http://plus.google.com/your_profile"]     
    }
</script>

More info:

Add a `canonical` option to `page` helper

We'd like to write something like that

page :product, resource: product
page :product_in_category, resource: product, path: product_category_path(category, path), canonical: product_path(product)

This should add a meta tag <link rel="canonical" href="#{ product_path(product) }" /> to both pages.

When option canonical is set, we should check that the given page really exists in the skeleton to avoid pointing on a 404

What strategy for internationalisation ?

When using route_translator gem, you can translate routes. Meaning translating root_path will get you a root_en_path helper.

Should we add these translated page to skeleton.rb ?

Should we use the same page but use a translation gem such as globalize on meta tags ?

Error during sitemap.xml generation

Errno::ENOENT: No such file or directory @ rb_file_s_stat - /tmp/sitemap.xml20150611-9512-qb1kld
when running
rake seo_tools:sitemap:generate

Full trace:

rake aborted!
Errno::ENOENT: No such file or directory @ rb_file_s_stat - /tmp/sitemap.xml20150611-9551-gkf2ps
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/fileutils.rb:1573:in `stat'
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/fileutils.rb:1573:in `block in fu_each_src_dest'
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/fileutils.rb:1589:in `fu_each_src_dest0'
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/fileutils.rb:1571:in `fu_each_src_dest'
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/fileutils.rb:514:in `mv'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/sitemap-0.3.3/lib/sitemap/generator.rb:175:in `block in save'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/sitemap-0.3.3/lib/sitemap/generator.rb:173:in `each'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/sitemap-0.3.3/lib/sitemap/generator.rb:173:in `each_with_index'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/sitemap-0.3.3/lib/sitemap/generator.rb:173:in `save'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/bundler/gems/seo_tools-para-a63023bad3df/lib/tasks/sitemap.rake:9:in `block (3 levels) in <top (required)>'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/home/gcardoso/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/bin/rake:23:in `load'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/bin/rake:23:in `<main>'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/bin/ruby_executable_hooks:15:in `eval'
/home/gcardoso/.rvm/gems/ruby-2.1.3@eau-bien-etre-wpi/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => seo_tools:sitemap:generate

Organize pages by category

When you have hundreds of pages, it should be nice to have a way to look for certain type of page quickly.

It could be a simple string column that we could use to tag pages and easily search for pages by tag name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.