Welcome to Geeklog, Anonymous Wednesday, November 13 2024 @ 08:54 pm EST
Geeklog Forums
RSS Entry Length
Status: offline
jmatt
Forum User
Junior
Registered: 01/06/03
Posts: 30
Location:Tatertown, KY, USA
I just upgraded my Geeklog from 1.3.9 to 1.4.0sr1. I had RSS syndication set up with "Length of Entries" set to 1, to include the full intro text of the article. Now, instead of the full intro text, it includes the entire article. Is there some way to make it go back to just the intro text? I tried 0, and that gives no text at all. I don't really want to cut it off at some arbitrary number of characters.
12
14
Quote
genetikci
Anonymous
It has been a year, you probably have solved this, but someone may still need.
I had the same problem so I checked the lib-syndication.php
Find this line (line 371 in 1.4.1):
remove the bodytext part:
seems to work for me.
Make sure you backup your original file so that you can go back. Also, one could probably make a $_CONF variable and add the option of having whole body or just the intro.
I had the same problem so I checked the lib-syndication.php
Find this line (line 371 in 1.4.1):
Text Formatted Code
$fulltext = stripslashes( $row['introtext']."\n".$row['bodytext'] );remove the bodytext part:
Text Formatted Code
$fulltext = stripslashes( $row['introtext'] );seems to work for me.
Make sure you backup your original file so that you can go back. Also, one could probably make a $_CONF variable and add the option of having whole body or just the intro.
16
19
Quote
Status: offline
jmatt
Forum User
Junior
Registered: 01/06/03
Posts: 30
Location:Tatertown, KY, USA
Works for me too. I actually changed it in two places in lib-syndication.php: line 263 and line 371. I didn't dig deeply enough to figure out what the two different sections of code are doing, but I figured it would be safest to change both of them.
13
12
Quote
All times are EST. The time is now 08:54 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content