para-cms / para-seo_tools Goto Github PK
View Code? Open in Web Editor NEWSEO tools for the Para CMS
License: MIT License
SEO tools for the Para CMS
License: MIT License
Is identifier
field really useful ?
Maybe our identifier is the path
field as it should be unique.
Skeleton raise an error during deploy when trying to fetch a table that is not already created.
To reproduce:
skeleton.rb
Not sure if it's related to Heroku in particular
When creating a page in a loop like that page :product, resource: product
, page is created with an empty path
Message from application: cannot load such file -- seo_tools/skeleton_component (LoadError)
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:
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
Could be a toggle button in table list.
Should add <meta name="robots" content="noindex|index">
in page head
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 ?
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
I get URLs without domain name
<url>
<loc>http:///</loc>
</url>
Deleting lines from the skeleton.rb
file does not affect the skeleton
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.