cloudhead / dorothy Goto Github PK
View Code? Open in Web Editor NEWa basic template for toto, the blogging engine
a basic template for toto, the blogging engine
Hello,
I don't see a reference to which license this is released under. Does it share the same license as https://github.com/cloudhead/toto?
Hi all,
I encounter an issue about encoding. I covert all .rhtml page & .txt page as UTF-8 format and set charset as UTF-8. Everything works well except the page title. it can not display correct if contains chinese.
is there anyone can help me out?
Thanks in advance!
-Jay
I have been trying to figure this out for a while. Using the build in index.builder for the atom feed generated an xml file that is truncated and thus not valid xml.
For example: (Only showing 1 entry for brevity):
<?xml version="1.0" encoding="UTF-8"?>
<xml xmlns="http://www.w3.org/2005/Atom">
<title>Laptop Battery Depot Blog</title>
<id>http://www.laptopbatterydepot.com/blog</id>
<updated>2010-10-19</updated>
<author>
<name>Laptop Battery Depot</name>
</author>
<entry>
<title>HP Exiting PC Business</title>
<link rel="alternate" href="http://www.laptopbatterydepot.com/blog/blog/2011/08/25/hp-exiting-pc-business/"/>
<id>http://www.laptopbatterydepot.com/blog/blog/2011/08/25/hp-exiting-pc-business/</id>
<published>2011-08-25</published>
<updated>2011-08-25</updated>
<summary type="html"><p>There&rsquo;s big news in the PC market. Hewlett Packard, the world&rsquo;s largest PC maker, has announced plans to spin off its PC business and end it recently acquired TouchPad tablet and smartphone business and instead focus on software and services&hellip;</p>
</summary>
<content type="html"><p>There&rsquo;s big news in the PC market. Hewlett Packard, the world&rsquo;s largest PC maker, has announced plans to spin off its PC business and end it recently acquired TouchPad tablet and smartphone business and instead focus on software and services.</p>
<p><img style="float: right; border: 5px #ffffff solid;" src="/assets/lbd/blog/ZZ0F97B074.jpg" alt="ZZ0F97B074.jpg" width="135" height="85" />According to a report in Bloomberg, HP has been “aiming to lessen its dependence on lower-margin PCs, where growth has stalled as consumers flock to tablet-style computers like those made by Apple.”</p>
<p>Apple was the only maker in the top 5 PC vendors of Western Europe to experience growth in computer shipments. Apple also just surpassed HP in mobile PC sales, mostly due to the highly successful iPad. HP had its own iPad alternative, but consumers didn&rsquo;t find it as attractive as HP hoped. Retailers had indicated that sales of the TouchPad were flat. With the news and major drop in prices, however, they are at least moving off the shelves now with the news.</p>
<p>If you have an <a href="http://www.laptopbatterydepot.com/lbd/products/HP">HP laptop</a> or TouchPad, the company is indicating that current customers won&rsquo;t be abandoned or forgotten. At the same time, some HP owners are going ahead and stocking up on an extra battery or other HP products to ensure availability.</p>
<p>At <a title="Laptop Battery Depot" href="http://www.laptopbatterydepot.com/">Laptop Battery Depot</a>, we have a wide array of laptop batteries for your HP, Apple or any other major brand you may have so that you can purchase a replacement battery or backup battery for when there is a need.</p>
<p>Currently, we are offering $15 off any battery and free priority shipping. Take advantage of our offer while it lasts!</p>
</content>
</entry>
After lots of trial and error, I can say that the problem seems to be the article.summary and article.content. If commenting out both on the builder template, I get a valid (although less useful) atom feed:
<?xml version="1.0" encoding="UTF-8"?>
<xml xmlns="http://www.w3.org/2005/Atom">
<title>Laptop Battery Depot Blog</title>
<id>http://www.laptopbatterydepot.com/blog</id>
<updated>2010-10-19</updated>
<author>
<name>Laptop Battery Depot</name>
</author>
<entry>
<title>HP Exiting PC Business</title>
<link rel="alternate" href="http://www.laptopbatterydepot.com/blog/blog/2011/08/25/hp-exiting-pc-business/"/>
<id>http://www.laptopbatterydepot.com/blog/blog/2011/08/25/hp-exiting-pc-business/</id>
<published>2011-08-25</published>
<updated>2011-08-25</updated>
</entry>
</xml>
I can't figure out why builder seems to be truncating the feed, and I see no problems on the output to help me out. I have tried adding the article.summary and/or content as CDATA, but doesn't make a difference.
I appreciate any pointers in the right direction so I can get a full feed going.
It seems you did a git rm
rather than a git mv
by accident. templates/index.builder
is missing from the GitHub repository.
Heroku doesn't seem to accept the .gems file on the Cedar stack.
Says:
Its linking to (with a paren at end):
instead of:
I have everything setup but it looks like when i try to go to localhost:3000 i get internal server error, when i try to go to localhost:3000/articles i get "toto, looks like we aren't in kansas anymore" why is this happening?
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.