I think many of us, including myself, often find ourselves distracted while doing a job on computer. The distractions could range from checking email, IM, checking RSS feeds of latest news or getting sucked into google mode and continuing browsing, in detrement to the work at hand.
Personally I get...
I’m thinking about putting together a Wiki for some stuff I am doing. Does anyone have any packages that they like and would recommend? Things I would like:
1) PHP (V5 would be a good thing) 2) Data stored in MySQL 3) User names to edit as an option. 4) New/changed Pages RSS feed. 5) Under active development 6) There is no #6 7) Page versioning. 8) Good support for inserting code of various forms (PHP, javascript, xml etc) in pages.
I think many of us, including myself, often find ourselves distracted while doing a job on computer. The distractions could range from checking email, IM, checking RSS feeds of latest news or getting sucked into google mode and continuing browsing, in detrement to the work at hand.
Personally I get most distracted with great ideas popping [...]
I work for a law firm as a database administrator and I really enjoy it. The company I work for has been around for over 100 years and they are really great with benefits. In short, law firm tech jobs can rock.
Some of the jobs listed are... Database Administrator - Cleveland, OH Desktop/Network Support Analyst - San Diego, CA Application Developer - Los Angeles, CA Senior Network Engineer - New York, NY
It's updated almost daily. I asked them for an RSS feed but haven't heard back :|
I have been playing with my blog to find the optimum number of messages to make available from the main page. Somehow that triggered JavaBlogs to think that all of these entries are new and publish them!
Let me say it again. Dave Winer you did a good job in developing RSS. You did a [...]
If you are bored, perhaps you can help me with this problem, its for someone on a forum I go on...
The file is formatted like this
1 crux The problem that is the hardest to solve The crux shadows 2 addendum An addition Addendum for those who submit combos 3 groggy Half asleep and crabby I’m groggy still 4 crabby Grumpy Being half asleep and crabby
(the number doesnt matter really, because that can be added in later)
And I need to get it like this
crux, The problem that is the hardest to solve, The crux shadows addendum, an addition, Addendum... groggy, ....
so basically it can be read into excel as a csv file. So far I have it like this:
crux, The problem that is the hardest to solve, The crux shadows,
addendum, An addition, Addendum for those who submit combos,
groggy, Half asleep and crabby, I’m groggy still,
(those are commas at the ends of the lines, although they look like periods/full stops) ....
so basically i need to join up all lines with a comma at the end... any ideas??
My script reads like this so far:
cat words.txt | sed 's/$/\,/g' | #adds commas to end of each line tr -d '1''2''3''4''5''6''7''8''9''0' | #removes all numbers sed 'n;n;G;' > words.csv #adds a new line every forth line
#sed -e :a -e '/\\$/N; s/\\\n//; ta' #should join up all lines with BACKSLASHES at the end
How can I modify the last line to make it join up lines ending in the commas?
I have a script that will read and store in my DB a number of RSS feeds. Right now, I have to click a button to perform this process. I'd like to have the code run at a fixed interval on its own, perhaps every 30 minutes.
Is there a method for creating a timed process out of a PHP script, so that it will run automatically at specific intervals?
(I'm using shared server space, with the .bash files. Not a huge Unix guru, but can get by with some direction.)
But there is one problem in the code what i have given in the previous entry.
it shows the entry with date, time, current mood, current music and even the number of comments in that post... But the problem i encountered in case of LJ-Cut... It doesn't keep the LJ-cut contents hiden. It shows the whole document. Coz in the XML of the entry the code is like this then followed by the entry...
Even the XML given through RSS doesn't provide any option to find where the LJ-cut ends. Can anyone help regarding this problem?
I've set up a page to read and parse RSS feeds. It works for the most part. The feed names and addresses are pulled from a mysql database okay. The problem lies in putting them onscreen. At some point, variables are not being dropped or overwritten, and I'm getting the same results repeated, but with the count number of the second feed.
Now, I used to use Thunderbird for my RSS and ATOM feeds, until I discovered SAGE. I switched mainly because I like how SAGE operates inside my browser- even though I still use Thunderbird for other reasons.
I was curious though, what does everybody else here use to manage their RSS/ATOM feeds? Or maybe some of you don't even use news feeds, if so why not- maybe you haven't found a good enough aggregator yet?
I found a website in Google which fetches the LJ content of php_dev, is it the official site of PHP-Dev Community?
If it is so, then i'll suggest some changes in that website and we can try the code i wrote in my earlier post. Also we have many efficient web designers in this community who can design that site very nicely.
BTW, did anyone find the solution to identify the LJ-Cut? What acidofil wrote against my earlier post about Lj-Cut, am afraid that LJ-cut can't be recognised in that way through RSS. If anyone can give the code then it'll be helpful
[Error: Irreparable invalid markup ('') in entry. Owner must fix manually. Raw contents below.]
I wrote a code for Fetching LJ content of a community. Am using RSS here. I wrote one XML Parser, It displays the entries in proper format (User can modify the code for his/her choicable format). It also displays the user name and userpic of the person who posted the entry in the community, also it counts the number of comments for that post and displays the comment count. Also it displays the current music, current mood and the mood icon used for that entry.
This code will be helpful when someone is designing a website for a community and wants to fetch the LJ contents in the site...
I've not yet tested the code for all types of design. If anyone can test the code and find the errors and fix them, it'll be helpful for everyone...
// +----------------------------------------------------------------------+ // | CommunityLJcatch version 1.1 | // +----------------------------------------------------------------------+ // | This program is free software; you can redistribute it and/or | // | modify it under the terms of the GNU General Public License | // | as published by the Free Software Foundation; either version 2 | // | of the License, or (at your option) any later version. | // | | // | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // | | // | You should have received a copy of the GNU General Public License | // | along with this program; if not, write to the Free Software | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | // | 02111-1307, USA. | // | | // +----------------------------------------------------------------------+ // | Author: Sutanu Mandal from SPHINX | // | Website: http://www.wearesphinx.net | // +----------------------------------------------------------------------+ // | File: fetch.php | // | Description: Contains php code and XML parser to fetch | // | Livejournal Entries from Community LJ Page | // | Last Update: 22/04/2005 | // +----------------------------------------------------------------------+
// Basic Requirements $community="wearesphinx"; // Mention your community name here $backend = "http://www.livejournal.com/community/".$community."/data/rss/";
/*Code for finding the entry ID*/ $linkid=preg_split('[/]',trim($link)); $entryfile=$linkid[count($linkid)-1]; list($entryname,$dummy)=split('[\.]',$entryfile);
// Find the Date and time of Post $datearray=preg_split('[ ]',$datetime); if(empty($title)) { $title="Nothing to say Baby"; } printf("
%s
", // make our title into an actual link htmlspecialchars(trim($title))); // remove html characters from the title
//-------------------------------------------------------------------- // Find out the user who made the post
while ($data = fread($fp, 4096)) { xml_parse($xml_parser, $data, feof($fp)) or die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); }
// Close the datafile
fclose($fp);
// Free any memmory used
xml_parser_free($xml_parser);
?>
But in this code the problem is that it doesn't recognise LJ-cut and doesn't do caching.
If anyone modifies the code and make it efficient then it'll be helpful :)
What's the best - and free - way to add XML syndication feeds to a website?
I'm working on my own site right now (unfortunately, I can't make the whole thing live until the DNS changes to my GoDaddy domain go through), and my goal is to have three separate blogs through Blogger.com...and I want to display a feed from the two secondary blogs on my front page (like have a section for a secondary blog, containing links and the first few lines from each article in that blog...). I know I can use FeedBurner to convert my Atom XML feeds to RSS, but either way, how do I make my site display the XML information?
I just started using Thunderbird as an RSS reader and I'm noticing strange behavior with my feed. If I load up http://www.perturb.org/rss.php in thunderbird the entries it displays are links to web pages. When I view one of those feeds it shows that entry as it is embeded on the webpage. If I look at one of the entries from http://www.lessig.org/blog/index.xml the entry shows the raw text that's in the RSS feed no HTML requests made.
Considering the first feed is from my blog, how do I make Thunderbird show the raw content, instead of the HTML. It's exported correctly. Bloglines sees the content just fine. Is there a Thunderbird setting I'm missing?
Hello, I am interested in getting an RSS newsreader, but I am looking for one with a scrolling bar which would be able to be placed on the top or bottom of my screen (if anyone knows what Winbar is, think of something like that). So far all I have found is newsreaders which come in window format, but which don't have a bar feature (like a stock ticker). If anyone knows of something like this, I would like to know (preferably open source).
Okay, I'm having a bit of a problem here... I'm trying to create an RSS feed from my MySQL database. Unfortunately though, I can't seem to write to a file. PHP isn't running in safe mode, and the enclosing folder permissions don't seem to make a difference. The file gets created, but no writing occurs, and if the 'is_writeable' statement is taken out, the script runs until it times out and gives an error 500. Anyone have any clues?
error_reporting(1);
include("sqlstuff.inc");
$filepointer = fopen("/kunden/homepages/28/d58558265/htdocs/rss/news.rss", "w+") or die ("can't open file");