We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LiveJournal Crosspost Module and Extension

Development and Programming

spacey310's avatar
spacey310
17 posts
19 years ago
spacey310's avatar spacey310

I have written a module and extension that crossposts entries from ExpressionEngine into LiveJournal. It works for posting from one weblog to one LiveJournal account. I’m sure that there are a few people who use both EE and LiveJournal..

Here’s some of the features:

*  Crosspost entries to LiveJournal.
* Edited entries will also be posted to LiveJournal.
* Support for public, friends-only, and private entries 
       
Lisa Wess's avatar
Lisa Wess
20,502 posts
19 years ago
Lisa Wess's avatar Lisa Wess

Added in the wiki - thank you. =)

       
NightVixen's avatar
NightVixen
7 posts
18 years ago
NightVixen's avatar NightVixen

I been trying to get this to work once again on my blog after being outta the loop hole for some time. However it works but .. On my Blog i don’t get the post Instead a Random letter/number Appears I dunno what to do To Remove it or edit it so My post appears and not this Annoying Rabbled letter line as you can see on the post left on my page.

http://nightvixen.com/neph/index.php/Blog

I’d like to get this to work on my blog besides my LJ which I sussed that out so then I can move forward in my own Layout design than what ya currently see.

My code for entries includes:

{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15"}



{date_heading}
<div class="date">{entry_date format=' %l, %F %d, %Y'}</div>
{/date_heading}

<div class="title"><a href="http://{title_permalink={my_template_group}/comments}">{title}</a></div>
<div class="blogbody">
<div class="{switch='entry1|entry2'}">
<div class="category">
{categories}
• <a href="http://{path=site_index}">{category_name}</a>
{/categories}
</div>

{exp:smarty_pants} 
{exp:markdown} 
{exp:ljformat cut="true" path="weblog/comments/{url_title}"}
{body} 
{/exp:ljformat}
{/exp:markdown} 
{/exp:smarty_pants} 

</div>

<div class="posted">Posted by <a href="http://{profile_path=member/index}">{author}</a>  @ {entry_date format='%h:%i %A'}  ·
{if allow_comments}
({comment_total}) <a href="http://{url_title_path=">Comments</a>  ·
{/if}

{if allow_trackbacks}
({trackback_total}) <a href="http://{trackback_path=">Trackbacks</a>  ·
{/if}
</div>
</div>

{paginate}
<div class="paginate">
<span class="pagecount">Page {current_page} of {total_pages} pages</span>  {pagination_links}
</div>
{/paginate}

{/exp:weblog:entries}

I don’t see what could be doing this Just that maybe its a Random Generated Thing from LJ and If so that kinda is annoying As I don’t want that to be viewable at all on my blog.

Any Ideas or tips how to beat this would be appreciated from anyone.

       
alex7's avatar
alex7
130 posts
17 years ago
alex7's avatar alex7

Well… I tried to install this, but so far no lack. I’ve got personal EE (1.6.1) with MSM and Forum extentions. Everything in last builds. What did I do so far? I made a weblog with custom fields: body_field, id_field, anum_field, post_field, backdate_field, allow_comments_field, email_comments_field. I made custom entry statuses: Open, Closed, Friends and Private. I’m sure that I did not miss any step from the instalation documentation. All necessary files located in their appropriate directories as well. Module version is 1.3.When I’m trying to install module in admin panel, I’ve got an error message:

MySQL ERROR:

Error Number: 1067

Description: Invalid default value for 'field_id'

Query: CREATE TABLE IF NOT EXISTS `exp_lj_crosspost_fields` ( `id` INT(6) UNSIGNED NOT NULL, `lj_field` VARCHAR(32) NOT NULL, `field_id` INT(6) UNSIGNED DEFAULT '', `field_name` VARCHAR(32) DEFAULT '', PRIMARY KEY (`id` , `lj_field`));

Any clue? 😛

       
alex7's avatar
alex7
130 posts
17 years ago
alex7's avatar alex7

No clue… Four days I killed for this extension, and… OK! Removing it from a system. Maybe some day somebody will make a decent extension of this kind. 😛

       
Nelson @ Evoflux's avatar
Nelson @ Evoflux
32 posts
17 years ago
Nelson @ Evoflux's avatar Nelson @ Evoflux

I’ll be trying this later. Will come back with results.

       
Eggwhite's avatar
Eggwhite
3 posts
15 years ago
Eggwhite's avatar Eggwhite

I’ve managed to make the module part of this install, although I’ve not looked any deeper to see if I can make it actually work just yet.

To get the module to install properly I needed to do the following to v1.3 of the module/extension combo:

mcp.lj_crosspost.php - on both lines 1190 & 1161 - Replace the following:

DEFAULT ''

with this:

DEFAULT 0

It was trying to set a default integer value to a null string, and as such wasn’t getting very far.

       
Eggwhite's avatar
Eggwhite
3 posts
15 years ago
Eggwhite's avatar Eggwhite

Having done all that, this seems to work just fine if you follow the instructions.

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
15 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Another method for posting entries to LJ (and the one i use, these days) is to use LJ’s “post by email” feature in conjunction with EE’s “entry notification” feature. I can post a quick tutorial for making this work if anyone’s actually interested.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.