Code Monkey home page Code Monkey logo

extension-blog's Introduction

Blog Extension

A blog extensions with a built-in comment system.

extension-blog's People

Contributors

annemoeller avatar janschoenherr avatar malte-christian avatar maqnouch avatar saschadube avatar steffans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extension-blog's Issues

Images blog Feed

Could we have images in rss feed? Or how to add in code?
I need to consume this images in other sites...
:/

Some suggestions

Do you accept suggestions?

  1. It would be nice to add an ability to make anonymous comments with moderation and captcha support.
  2. Also it would be nice to add prev and next links on post pages.

Thanks.

Comments in a separate extension

It would be nice to be able to add comments to any page, not just blog posts. Would there be any interest in factoring the comments code out of this extension into its own?

Multible Blogs

Wouldn't it be great to create more then one blog? And when i setup an Hero-Image to the blog-page it's not so great that it also appears in an single blog article... can this be changed?

Social media connection

Would be very nice to have some auto-post functionality on this extension. On a blog post level you could be able to select which social network (based on connected accounts on a settings level) and it could be automatically published after blog post went live or at a given time as the blog post is able to go live at a specific time.

Character Filtering in Blog Post Slugs

Using Pagekit 1.0.3 with PHP 7 and Apache 2.4.

Allowing the post slug to auto-generate from the title on save (a GREAT feature) does not properly account for punctuation in titles. Example...

This title: Jaylon Smith: He's Got The Rush, But No Interceptions?
Makes this slug: jaylon-smith-he-s-got-the-rush,-but-no-interceptions

The comma isn't such a big deal, but since we're on the subject, it should be filtered out. But the apostrophe in "He's" being transformed into a hyphen is just bad seo; should've been stripped and not replaced.

The proper slug of that title should be: jaylon-smith-hes-got-the-rush-but-no-interceptions

Haven't test other special characters or punctuation, though I suspect special characters are handled just fine (like the question mark was).

Thanks.

Gravatar is not deactivated

In the Blog Extension, there is an Option to deactivate the Gravatar Service for Blog-Comments. But the Option doesn't work. Gravatar is not deactivated and all new Comments have the Connection to Automatic Gravatar Service and shows the Avatar.

In the Source Code of the Blog-Entries there are this Line:

<img class="uk-comment-avatar" width="40" height="40" :alt="comment.author" v-gravatar="comment.email">

Spell checking is not working

Hi there,

It seems I cannot enable spell-checking verification when writing a post.
Is this bug or is there something wrong with my configuration?
I am using Firefox.

Scheduled blog posting time

I want to schedule a date and time in the blog, bu the time fail.
If I put 22:00 hs changes to 10:00 hs; If I put 20:30 it changes to 08:30 and so on.
Any ideas?

Can't edit existing post

When I try to edit a existing post, there is nn content in the form.
It looks like the same to add a new post.
And I try to reinstall blog extension. The issue is still here.

Feed generation outputs raw tag

I just subscribed to the feed of my Pagekit test site and there are double curly braces on top of every post:

{{ "2016-06-15T11:41:00+00:00" | date "longDate" }}

I'm unsure how this happens as there is no such occurrence when I just curl the URL. Maybe it's worth to take a look into this. I'm using Miniflux as an RSS reader, so it may be related to it, though I doubt it because I never had this appear in any of my other 100 or so feeds.

Pagination - Prev/Next button

I think the pagination is missing the prev/next buttons
It's a little thing, but a lot of people find it easier to use

I've added it myself, I did it this way:

<?php if ($total > 1) : ?>
<ul class="uk-pagination">

    // PREV
    <?php if($page!=1): ?>
        <li><a href="<?= $view->url('@blog/page', ['page' => $pageIndex]) ?>"><i class="uk-icon-chevron-left"></i></a></li>
    <?php endif; ?>

     // PAGINATION CODE //

    // NEXT
    <?php if($page!=$total): ?>
        <li><a href="<?= $view->url('@blog/page', ['page' => $pageIndex + 2]) ?>"><i class="uk-icon-chevron-right"></i></a></li>
    <?php endif; ?>

</ul>
<?php endif ?>

I think you should consider adding it by default, and/or making it an option

Admin customization with vue

Hello, I can't manage to see the custom theme form I've built with vue in the node-theme.vue file.
I see the tab correctly on pages, but not on blog posts.
Note: in the node-theme.vue I removed any v-if="node.type === 'page' clause

Using Pagekit in a subfolder instead of root directory

I have page kit installed in a subfolder (example.com/blog). I only want to use pagekit as a blog so my problems is that when I go to a post, the url is normal but under a subfolder looks off (example.com/blog/index.php/blog/postslughere). I need it to be (example.com/blog/postslughere) just like it would be if it was installed on the root directory.

Any ideas?

Support for schema.org structured data

schema.org is the preferred way for Google to read structured data and display that data in the search results. This allows search results to contain relevant information.

The schema.org way of pointing out relevant data, albeit verbose, is pretty easy to add to existing sites or templates.

The schema http://schema.org/BlogPosting provides most, if not all, the property fields a blog post can fill.
That way a blog post can be displayed in a rich way in search engines that utilize schema.org properties.

Looking a bit through the templates, it should be not too hard to add the necessary and optional properties to blog pages.

For more information about the markup of structured data using schema.org, you can visit http://schema.org/.

If I can find the time, I will try to add this functionality myself.
I'd like to hear your opinion about this as well.

Best Regards

Marvin

Blog as home page

This more a question actually.
Is it possible to make the blog the home page.

When renaming the Blog page, it'll still show Blog in the title tag

If I rename the posts page to, for example, "News" I'd expect the posts page title tag to be the following:
<title>WEBSITE_NAME | News</title>

However, it currently is:
<title>WEBSITE_NAME | Blog</title>

Would be amazing if this changes with the name of the posts page.

Can't add new post blog, I have some error ?

An exception occurred while executing 'SELECT id FROM pk_system_role WHERE (id = ?) OR (permissions REGEXP '(^|,)(blog: manage all posts|blog: manage own posts)($|,)')' with params [3]: SQLSTATE[42000]: Syntax error or access violation: 1139 Got error 'this version of PCRE is compiled without UTF support at offset 0' from regexp

MySQL 5.7 ONLY_FULL_GROUP_BY

Have problems opening blog posts in admin panel

Whoops, looks like something went wrong.

3/3 DriverException in AbstractMySQLDriver.php line 115: An exception occurred while executing 'SELECT user_id, name, username FROM pk_blog_post INNER JOIN pk_system_user ON user_id = pk_system_user.id GROUP BY user_id, name':

SQLSTATE[42000]: Syntax error or access violation: 1055 'pagekit.pk_system_user.username' isn't in GROUP BY

    in AbstractMySQLDriver.php line 115
    at AbstractMySQLDriver->convertException('An exception occurred while executing 'SELECT user_id, name, username FROM pk_blog_post INNER JOIN pk_system_user ON user_id = pk_system_user.id GROUP BY user_id, name': SQLSTATE[42000]: Syntax error or access violation: 1055 'pagekit.pk_system_user.username' isn't in GROUP BY', object(PDOException)) in DBALException.php line 116
    at DBALException::driverExceptionDuringQuery(object(Driver), object(PDOException), 'SELECT user_id, name, username FROM pk_blog_post INNER JOIN pk_system_user ON user_id = pk_system_user.id GROUP BY user_id, name', array()) in Connection.php line 836
    at Connection->executeQuery('SELECT user_id, name, username FROM pk_blog_post INNER JOIN pk_system_user ON user_id = pk_system_user.id GROUP BY user_id, name', array(), array(), null) in Connection.php line 178
    at Connection->executeQuery('SELECT user_id, name, username FROM @blog_post INNER JOIN @system_user ON user_id = @system_user.id GROUP BY user_id, name', array(), array()) in QueryBuilder.php line 670
    at QueryBuilder->executeQuery() in QueryBuilder.php line 590
    at QueryBuilder->execute()
    at call_user_func_array(array(object(QueryBuilder), 'execute'), array()) in QueryBuilder.php line 181
    at QueryBuilder->__call('execute', array()) in PostModelTrait.php line 29
    at Post::getAuthors() in BlogController.php line 28
    at BlogController->postAction(null, null)
    at call_user_func_array(array(object(BlogController), 'postAction'), array(null, null)) in ControllerListener.php line 60
    at ControllerListener->executeController(object(ControllerEvent), object(Request))
    at call_user_func_array(array(object(ControllerListener), 'executeController'), array(object(ControllerEvent), object(Request))) in WrappedListener.php line 63
    at WrappedListener->__invoke(object(ControllerEvent), object(Request))
    at call_user_func_array(object(WrappedListener), array(object(ControllerEvent), object(Request))) in EventDispatcher.php line 123
    at EventDispatcher->trigger(object(ControllerEvent), array(object(ControllerEvent), object(Request))) in TraceableEventDispatcher.php line 126
    at TraceableEventDispatcher->trigger('controller', array(object(Request))) in HttpKernel.php line 148
    at HttpKernel->handleController() in HttpKernel.php line 77
    at HttpKernel->handle(object(Request)) in Application.php line 67
    at Application->run() in app.php line 24
    at require_once('/webroot/app/system/app.php') in index.php line 40

My config:
Pagekit 1.0.11
nginx 1.11.12
php 7.1.3
MariaDB 10.1.22

Syntax info
Possible fix

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.