Topic: Linking Latest Post Headlines on Website Frontpage to actual post

Hi there,

Hope I can get a resolve to this issue.

I believe there was a hack or approach to this issue but sadly, the website doesn't exist anymore.

So, I have managed to utilize "bludit.php" with some wavering success with regards to extracting and displaying the blog post titles. Is there a way I can format these in bullet form like the post titles in the side bar and have them linked to the blog post???

I hope i'm making some sense here.

Any help would be appreciated.


Many thanks

Re: Linking Latest Post Headlines on Website Frontpage to actual post

is this the hack you were referring to:
http://forum.nibbleblog.com/viewtopic.php?id=581

3 (edited by DreadManCandy 30-06-2014 12:57:37)

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Hi grwebguy,

grwebguy wrote:

is this the hack you were referring to:
//forum.nibbleblog.com/viewtopic.php?id=581

Thank you for the reply. Yes indeed, it is.

Site is still under development but I will upload a few pages so you can see what I mean.
http://achangingface.com
If you look at the Latest posts in the right sidebar, you will see what I mean.

Any help, support or suggestions are welcome.

Thanks in advance

Re: Linking Latest Post Headlines on Website Frontpage to actual post

At this time, I'm getting "403 Forbidden" at that link.

5 (edited by DreadManCandy 10-07-2014 10:08:56)

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Hi grwebguy,

Thanks for your response.

grwebguy wrote:

At this time, I'm getting "403 Forbidden" at that link.

It's live now, and would appreciate any help in getting it to work.

On another note, something bizzare is going on.

1. I can get the script to output all the titles on my local machine, but as soon as i make it live, it only works on certain pages. Strange???

It is showing up on the contact and blog pages, but wont show up anywhere else. Please see last column on this page
http://achangingface.com/educate-profile.html

2. I somehow managed to get the titles into a list but still can't quite figure out how to make them linkable back to the blog.


Any help would be appreciated.

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Hello nice theme!

7 (edited by DreadManCandy 11-07-2014 13:54:33)

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Hi Diego,

diego wrote:

Hello nice theme!

To receive compliments from you is really encouraging.
Maybe I can wrap it up and give back something to the community.

Thank you for Nibbleblog, i just love it and recommend it to all my clients.

I know I'm yet to buy you a beer but please do "Keep it up..."


Kind regards

Re: Linking Latest Post Headlines on Website Frontpage to actual post

There is something wrong with the formatting, because the php code shows in the template:
<li>
<?php

// replace for your key sync
$key_sync = 'bd50ad4539a2efbc5fb38d764f2a1ea32bc6f0f8';
// replace for your blog url
$blog_url = 'http://achangingface.com/blogs/';

$url = $blog_url.'bludit.php?sync='.$key_sync.'&other=latest';
$timeout = 10;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
$data = curl_exec($ch);
curl_close($ch);

if($data!==false)
{
    $posts = json_decode($data, true);

    foreach($posts as $post)
        echo $post['title'].'</li>'.'<br>'.'<li>';
       
}

?>
</li>

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Hi grwebguy,

grwebguy wrote:

There is something wrong with the formatting, because the php code shows in the template:
<li>
<?php

// replace for your key sync
$key_sync = 'bd50ad4539a2efbc5fb38d764f2a1ea32bc6f0f8';
// replace for your blog url
$blog_url = 'http://achangingface.com/blogs/';

$url = $blog_url.'bludit.php?sync='.$key_sync.'&other=latest';
$timeout = 10;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
$data = curl_exec($ch);
curl_close($ch);

if($data!==false)
{
    $posts = json_decode($data, true);

    foreach($posts as $post)
        echo $post['title'].'</li>'.'<br>'.'<li>';
       
}

?>
</li>


Thank for your response.

Is there anyway this can be rectified or even better still, how would I go about doing this?

Thanks in advance

Re: Linking Latest Post Headlines on Website Frontpage to actual post

may be this script can help you: -script-

Re: Linking Latest Post Headlines on Website Frontpage to actual post

Can anyone help? I can't get bludit.php to work, there is no link called bludit in the settings. I have tried everything, re installing the blog placing the budit file in different location even including the file and last run the update.

Nothing I have done works?
Any help would be appreciated?

Thanks