Embed editable MS Word document on web page - asp.net

I need to present Word and PDF documents in a read-only preview, via an ASPX/HTML page to my internal users. In a related requirement, I need to present editable Word documents, via ab ASPX/HTML page, to parties outside of our network - effectively the public.
We cannot rely upon Word or Adobe-type PDF plugins being available on the destination PC.
Can anyone suggest a way to do this?
Edit - For clarity, the document/data would ideally stay on our own servers.

What about using Google Docs API? You could use either their word-like doc or a form to get the data you need, and then present that internally.
Not sure if this meets all of your requirements, or is an available option.
For our company, we have a few tools that utilize Google Docs. We upload data dynamically to them for specific needs.
Based on your requirements, maybe it's best to just write your own. I haven't created a Rich Text Editor. But it looks like there are quite a few tutorials online. Here is a basic tutorial for a rich text editor. It's using javascript, HTML, & CSS. If you prefer to not use js, then you may need to look for other tutorials.
This isn't the most glamorous solution, as it looks like the users view would be HTML. I'd think you could have it updating dynamically off to the side with an actual rich text view (similar to how Stack Overflow has theirs below an answer or question being written).
Update
Over the weekend I was exploring HTML5's contenteditable attribute, I came across an editor that builds off of that called Aloha Editor. It's a WYSIWYG type editor. But if that's something that you desire for your clients, than this would probably be a pretty simple integration. I have yet to use it, but it seems like it would be a great fit - if you decide to go the route of building your own editor.

You could use the Zoho API or, if you need to keep all data on your own servers and validated clients at all times, you could try the Aspose components.

If you're interested to provide documents in a view-only way then you can try GroupDocs as well: http://groupdocs.com/. They offer viewers for different file types which you can add to your website very easily: http://groupdocs.com/apps/viewer.

Since you need to keep data on your own server, aceoffix can be one of your alternative. It is a plugin installed on your own server and save all data on your server too.

Related

WYSWYG web editor for Sharepoint

Is there any approach to have a simple WYSWYG free web editor (preferably drag'n'drop widgets -based) embedded or integrated into Sharepoint 2010?
I am shocked because this answer seems to not exist... So far I've found...
Plugins for integrating Sharepoint into Drupal, Joomla or Wordpress, but I want the opposite, using those interfaces to create content stored in Sharepoint, without having to export HTMLs and adapting them to SP arquitecture and metadata. If not, I cannot even find any way to export a Wordpress/Drupal site into Sharepoint.
Web content rich editor: Am I doing something wrong is this just an html loader that does not edit a thing?
Webparts: all seem to be costly, and I am not sure there even exists a nice one for that concrete task
Could somebody point me to the most optimal solution for non-tech users using this feature? Thank you
By the way, is there any public web part repository from microsoft. Even searching that in google does not throw any interesting info..
Most public, open source projects for Microsoft can be found at http://www.codeplex.com/.
Regarding your requirement, if I understand correctly, you want to have a way to store content in SharePoint for display in a drupal or other CMS. The content should be in HTML format. If I understand you correctly, the easiest way to do this is to create a basic SharePoint list, add a multiline column and set the type of text to Enhanced rich text (Rich text with pictures, tables, and hyperlinks). When you add an item to the list, the form will include a form element that has a WYSWYG editor.
I've integrated SharePoint with Linux before using Curl. It's not easy, but can be done.

Building a bespoke PDF brochure via web form or CMS

I'd like to set up a CMS that allows clients to generate a PDF brochure from a series of text inputs and text areas (rich text editor). Clients would fill out text inputs and then select (via a check box) which contents should appear in the exported PDF. This would then stitch together a PDF brochure containing pages only applicable to the options chosen by the client.
All the content is in a CMS with web pages and pdfs built on the fly as per the client's choices. A change in the content is then reflected immediately in the published docs meaning no redundant, out of date pdfs and the benefit of all the tools within the CMS (workflow, publishing dates, security, etc).
Does anyone know of any tools that do this?
Appreciate any help.
well your question require a lot of work to be done. I had similar requirement and what i have done i can brief here. I created multiple views which lets me select their columns and i have used my own rules for differentiating columns from test like {view.columnname}. when your save all information i have used itextsharp for pdf generation.
There is plenty of information on itextsharp.
You might be able to do this with design tools and reporting software, plugged into your CMS of choice. For example, you could use Wordpress, and then design your PDF output using iReport, and run it with Jasper. You'd have to work on the bit to translate user inputs to a query passed to the report, but that shouldn't be too much work.
One issue is that, regardless of the work you put into the design, when you attempt to share it, it wont look like a brochure at all, only sequential single page PDFs. As an alternative I found a website where you can upload or design your brochure, it can then be downloaded and shared as a flippable, digital brochure. If you are interested check out https://simplebooklet.com/learn/animated-tri-folds.php

Ways to share a "Top X" list between two Drupal websites?

I'm trying to come up with some easy methods to share data between two Drupal websites. Here's my situation: Two websites both want a Top X Music listing with images, audio and data. One website is already creating and updating this list, and since they both use the same list the other website wants to straight up "steal" the first list, content, style and all. They want to take advantage of the work done to create the list on the other website. Their websites are structurally similar, and we control both sites. Audio is made playable using SWF tools.
Domain isn't really an appropriate solution here as the two sites share nothing besides the Top X Music list. I am able to create a view on the original site to feed the data in any format I want.
Some solutions I've been considering are:
Feed the data from one site to the other, hard link back to the other
site for audio/images.
iFrame the data on the site that is "stealing"
the list. (easy but seems too crude!)
jQuery AJAX load the data on the "stealing" site.
Basically I'm looking for suggestions of how you might handle this if they were your Drupal websites. I am familiar with Feeds, but would need to write a parser specifically for this feed, which seems like overkill for something so simple. Thanks! :)
You don't mention what version of Drupal you're using on the two sites. Assuming it's Drupal 6, you may want to check out the Web Widgets module and/or the Embed widgets module.
If you're just after a list of content from SiteA you could add a display to a given view and get RSS output. The ViewsRSS module gives you more control over what is returned.
If you're looking for more of a widget approach then I'd start looking at the Web widgets or Embed widgets modules. They're ok for basic functionality, but if you're looking to want more functionality I'd consider either embedding the content in an iframe (quick and dirty) or reviewing the services module(s) - although this may be overkill for your needs.
HTH.

how to implement internal website search in asp.net

I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project
http://www.codeproject.com/KB/applications/SearchDotnet.aspx
It has some limitations
Search with special characters is not working.
Pdf and word documents are not searching.
Not able to high light the searched text.
If I am implementing this in master page then child title is not displayed in result page.
Requirement:
I need to implement search result should be like this http://www.google.com/search?q=internal+search+in+asp.net&sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8
In description the search text must be highlighted.
Note: I need to implement this with coding not any 3rd party tool (I know lots of 3rd party website which do free hosting but they will post there adds and logo). Moreover i dont want to use any database for this internal searching
Please suggested and provide me some good links.
You could look at using Lucene.Net (http://lucene.apache.org/lucene.net/) to index your site. This is a tool but it is open source and requires you to do some of the work so I'm not sure if this meets your criteria or not.
For an example of how it works you can try searching on their site:)
Given your requirements there aren't too many options.
The only one I can think of is using Microsoft Indexing Service. Here is an example for using that to search a website in .net
https://web.archive.org/web/20211020134956/https://www.4guysfromrolla.com/articles/033005-1.aspx
If you have content in a database you could use Microsoft Full Text Indexing to create a search table and go from there.

Scribd style document rendering on ASP.NET

I have large documents (HTML or Text) (think legal documents/regulatory documents etc.) that need to made readable i.e. paged, with some rich-text markup, allowing user highlighting and annotation etc.
I was thinking of using a Scribd style rendering or as on Secwatch.com (see here). Any thoughts how I can go about it? We are on ASP.NET.
Found one article that does something similar:
http://www.c-sharpcorner.com/UploadFile/ckrause/Ajax-browser-based06162006015526AM/Ajax-browser-based.aspx?ArticleID=548dfae2-4251-4c9a-b659-bfe88fd55c62
Needs some plugin, am not sure if you are OK to go for a third party control.
EDIT(s):
1) Just realized that Scribd runs of Ruby on the Rails. I guess that could be a starting point if you want to look at developing something on your own. (What does RoR have that ASP.NET doesn't for this particluar case?)
2) Scribd provides an API, but mostly for interfacing your app to sribd.com. However, it might give you ideas.

Resources