Jump to content

Search the Community

Showing results for tags 'blog'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 7 results

  1. So my mom blogs on a norwegian blog site. She got loads of readers there, and wanted to make a website. I finished the website and was quite proud, but there was one problem... I had to automaticcly add her blog post to the website. So everytime she uploads a new post, I have to go into the codes and put it in manually.. Is there a way to do this automaticcly? I have coded the website with HTML and CSS. Any help would be appreaciated!!
  2. Hello This is my site: http://hojalateriaelguante.agencialosnavegantes.cl/ At the end of the page, just before the footer, i have a blog, and i need it to look like the attached picture. By default, the blog element of this theme has the featured image above and the content below, i did an inspection with Chrome and i tried putting a "float:left" to the featured image and kind of worked but, the content and the picture are too close to each other, and i want to separate them, just how they look on the example attached. How can i do this?
  3. hello! I have just started learning about html, css and all that stuff.. I am beginning to get an understanding.. But there is something that really annoys me! This is used to automatic retrieve post title, link and content.. but how?? I would like to have a featured image+some text on my first page, instead of the whole post! ${ } <div class="entry"> <h2> <a href="${EntryCategoryLink}">${EntryTitle}</a> </h2> <div class="content">${entrybody}</div>
  4. I post regularly on forums and blogs that allow HTML in the post but of course there is no access to CSS and anything "fancy" (inline CSS type things) is stripped. Things like border widths, coloring, object with, _blank are allowed and so on. Sometimes I forget the sytax or even wording of formatting I have used in the past and try to look it up. So many sites that I have used in the past now say, "not used for HTML 5" and then do not give any reference to the old command. Is this to say that documents using HTML4 will not be recognized? Most recently I was doing a post on a closed WordPress blog. I wanted buffering around a photo using the traditional table method, line widths and colors, and cell background coloring. Everything I researched gave me how to do with CSS. I'm not going to tear apart a WordPress site that regularly switches themes and each post and some pages have custom elements just to hard code the CSS. To top it off, this is a multisite which, if you are not familiar with WordPress, means one base set of web instructions and database form the foundation for many "web sites" (in my case) each of a different theme and design elements. Some are out of the box, some highly tweaked. And yes, I know how to make child themes. So, does the use of HTML5 mean all the posts on blogs and forums will need to be updated and what happens to those that happily use old-style formatting which does exactly what is needed and desired and not have the more modern inline scripting that is not allowed sometimes. (or, for old fogeys as I, harder to remember)
  5. yrstruly

    Add A Blog Entry

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Add a Blog Entry</title></head><body><h1>Add a Blog Entry</h1><?php // Script 12.5 - add_entry.php/* This script adds a blog entry to the database. */if ($_SERVER['REQUEST_METHOD'] == 'POST') { // Handle the form. // Connect and select: $dbc = mysql_connect('localhost', 'root', 'musica'); mysql_select_db('myblog', $dbc); // Validate the form data: $problem = FALSE; if (!empty($_POST['title']) && !empty($_POST['entry'])) { $title = trim(strip_tags($_POST['title'])); $entry = trim(strip_tags($_POST['entry'])); } else { print '<p style="color: red;">Please submit both a title and an entry.</p>'; $problem = TRUE; } if (!$problem) { // Define the query: $query = "INSERT INTO entries (entry_id, title, entry, date_entered) VALUES (0, '$title', '$entry', NOW())"; // Execute the query: if (@mysql_query($query, $dbc)) { print '<p>The blog entry has been added!</p>'; } else { print '<p style="color: red;">Could not add the entry because:<br />' . mysql_error($dbc) . '.</p><p>The query being run was: ' . $query . '</p>'; } } // No problem! mysql_close($dbc); // Close the connection. } // End of form submission IF.// Display the form:?><form action="add_entry.php" method="post"> <p>Entry Title: <input type="text" name="title" size="40" maxsize="100" /></p> <p>Entry Text: <textarea name="entry" cols="40" rows="5"></textarea></p> <input type="submit" name="submit" value="Post This Entry!" /></form></body></html> iI'm getting the folowing output, what am i doing wrong? Add a Blog EntryPlease submit both a title and an entry.'; $problem = TRUE; } if (!$problem) { // Define the query: $query = "INSERT INTO entries (entry_id, title, entry, date_entered) VALUES (0, '$title', '$entry', NOW())"; // Execute the query: if (@mysql_query($query, $dbc)) { print 'The blog entry has been added!'; } else { print 'Could not add the entry because:' . mysql_error($dbc) . '.The query being run was: ' . $query . ''; } } // No problem! mysql_close($dbc); // Close the connection. } // End of form submission IF. // Display the form: ?>Entry Title:Entry Text:
  6. Hey guys, I have the following problem: On my blog (http://nachdenkblog.tumblr.com) I want to make it possible to switch directly between the blog entries.At the bottom of the main site you can see pagination between the sites. (BTW, it's in German but I guess you see what it means.) But if you open a specific entry you can see a similar but smaller footer without links to click.The code I used for this is the following: {block:PermalinkPage} <div class="FUSSBEREICH PERMA"> <div class="SCHATTEN"> </div> <div class="FUSS"> <div class="NAVIGATION"> {block:Pagination} <ul> {block:PreviousPost} <li> <a href="{PreviousPost}"> Vorheriger Eintrag </a> </li> {/block:PreviousPost} {block:NextPost} <li> <a href="{NextPost}"> Nächster Eintrag </a> </li> {/block:NextPost} </ul> {/block:Pagination} </div> </div> </div> {/block:PermalinkPage} (In case you need to know: FUSSBEREICH = footer; SCHATTEN = shadow; FUSS = foot)But as I said, no link at all is displayed. Can someone tell me why? Regards,Thomas
  7. Hi! I'm going to set up a blog-like website, but I don't really want to use something like tumblr or wordpress. So what's the best (and easiest!!) framework to build this on? Django and Rails on Ruby, are these good choices or are there better options? Thanks in advance/Nicolas
×
×
  • Create New...