Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a description to all pages #4

Open
3 of 5 tasks
mcb2003 opened this issue Apr 1, 2018 · 2 comments
Open
3 of 5 tasks

Add a description to all pages #4

mcb2003 opened this issue Apr 1, 2018 · 2 comments

Comments

@mcb2003
Copy link
Member

mcb2003 commented Apr 1, 2018

I've set up the includes/headers.inc.php file to accept a description if, on each page, you do the following:

$description = "<Your Description Here>";

So now that this function is implemented, we should think of a description for:

  • The home.php page (we want the website as a whole to get more traffic and the home page will likely recieve the most).
  • The blog.php page (we want the blog to be publicised).
  • The chat.php page (we want people to join the community).
  • The state-of-linux-accessibility, what-is-linux.php and webbie-programs.php articles (articles are what will bring users).
  • The mac-os-10.12-video.php, ubuntu-17.10-video.php and ubuntu-mate-16.04-video.php video pages (I've proven with my youtube channel that videos bring viewers).

Other pages should have descriptions, but are not necessarily as important.

@mcb2003
Copy link
Member Author

mcb2003 commented Apr 5, 2018

update

After the release of commit b252c83 the way descriptions, titles and contributers (authors as far as the meta tags are concerned) are fetched has changed.

These values are now pulled from the pages table in the database.

Table Columns

  • pageTitle = The page's title, with Blind Computing automatically prepended to it.
  • pageDescription = The page's description (automatically added to the meta tags on each page.
  • contributer = The contributer of the page. This is automatically set as the "author" meta tag.

mcb2003 added a commit that referenced this issue Jul 28, 2018
@mcb2003
Copy link
Member Author

mcb2003 commented Jul 28, 2018

Home, Blog, and Chat/Contact now all have pageDescriptions in their database entry. This was completed in commit 34490ba.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant