May 4, 2011

Excerpts in Posts | CyberSEO | Support Forums

Only registered customers are allowed to post in this forum. For everyone else it is read-only.

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Excerpts in Posts
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
April 7, 2012
12:04 am
Avatar
bk
Guest
Guests

I am trying to accomplish the following:

1. Import an article from an RSS feed.

2. Display the article as an excerpt only (3 sentences or 50 words).

3. “Read more:” link back to the original article.

4. I would prefer that only articles imported using CyberSEO be affected by these changes.

April 7, 2012
12:10 pm
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline

The following code should do the trick:

Login to see the code.

April 22, 2012
6:37 am
Avatar
Astheria
Guest
Guests

I’m sorry I’m looking to do the same thing.  Where would I place this code at exactly?  We are looking to syndicate a number of blogs into a site and want it to give an excerpt with a link back to the original article just as above.  I just for the life of me cant figure out where the coding would go.

April 22, 2012
10:57 am
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline

It should be placed into the “PHP code <?php .. ?>” box in the feed settings. Here is more info about it: Login to see this link..

April 22, 2012
7:15 pm
Avatar
Astheria
Guest
Guests

Can this not be done in the “free” version at all?  I can’t seem to find a php box in the post settings in this version.  I guess I will have to continue to look for other products if not.

April 22, 2012
9:49 pm
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline

It can’t be done with CyberSyn. I’d suggest you to look at CyberSEO or other plugins that do allow the custom PHP code execution.

June 29, 2013
2:37 pm
Avatar
stonecold111
Guest
Guests

The code provided by Cyberseo works but it only applies to the content. It doesn’t limit the sentences in post excerpts on the frontpage.

I can limit the excerpts with the following code, but it doesn’t apply to the content. Would you please tell me how to limit sentences in both excerpt and the content?

Login to see the code.

June 29, 2013
3:01 pm
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline

If you want the post excerpt and content of the same length, you can use this code:

Login to see the code.

June 29, 2013
3:08 pm
Avatar
stonecold111
Guest
Guests

Thank you again.

Just curious, can I make the content limit to 30 words and excerpt 25 words?

I just realized that that would be a better idea in case the picture is the 26th word, you can still generate a feature picture because it’s included in the content while avoiding double pictures in the excerpt

June 29, 2013
3:14 pm
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline
10
0

Somehow like this:

Login to see the code.

December 9, 2020
6:12 am
Avatar
StoryBehindTheCloth
New Member
Members
Forum Posts: 1
Member Since:
December 9, 2020
Offline
11
0

Do these codes still work? I don’t know if i’m doing something wrong or if they are no longer usable.

December 10, 2020
1:36 pm
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline
12
0

Of course they work. Nothing has changed. Please just make sure you copied them correctly. Click on “view raw code” and copy.

January 7, 2021
5:03 am
Avatar
Mickeyson05
Member
Members
Forum Posts: 6
Member Since:
January 5, 2021
Offline

When I add code as instructed on post it completed messes up import

#update

I guess it was the coding or pictures not sure but I went from 50 to 450 for it to appear correctly

Still doing some testing but that was my initial issue

January 7, 2021
10:30 am
Avatar
admin
Admin
Forum Posts: 2888
Member Since:
July 2, 2009
Offline

That’s because you are trying to shorten the HTML code. There will be a special function for that in the next release.

Forum Timezone: Europe/Moscow

Most Users Ever Online: 67

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 64

Freedom: 54

saviulisse67: 45

B8europe: 44

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 349

Members: 1692

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 5

Topics: 1244

Posts: 6189

Newest Members:

valeriodistefano.valeriodistefano, turbatualin, andrew12377, andrew_12377, alex.magdyk, studioottozero

Administrators: admin: 2888